mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-08 07:44:14 +07:00
can: mcp251x: avoid long lines
This patch fixes long lines in the driver. Acked-by: Sean Nyekjaer <sean@geanix.com> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
77654a6da0
commit
4669597496
@ -795,7 +795,8 @@ static irqreturn_t mcp251x_can_ist(int irq, void *dev_id)
|
||||
* (The MCP2515/25625 does this automatically.)
|
||||
*/
|
||||
if (mcp251x_is_2510(spi))
|
||||
mcp251x_write_bits(spi, CANINTF, CANINTF_RX0IF, 0x00);
|
||||
mcp251x_write_bits(spi, CANINTF,
|
||||
CANINTF_RX0IF, 0x00);
|
||||
}
|
||||
|
||||
/* receive buffer 1 */
|
||||
@ -1129,7 +1130,8 @@ static int mcp251x_can_probe(struct spi_device *spi)
|
||||
ret = mcp251x_hw_probe(spi);
|
||||
if (ret) {
|
||||
if (ret == -ENODEV)
|
||||
dev_err(&spi->dev, "Cannot initialize MCP%x. Wrong wiring?\n", priv->model);
|
||||
dev_err(&spi->dev, "Cannot initialize MCP%x. Wrong wiring?\n",
|
||||
priv->model);
|
||||
goto error_probe;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user