mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
can: mcp251x: fix print formating strings
This patch fixes the print format strings 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
4669597496
commit
d344c6d6c3
@ -561,8 +561,7 @@ static int mcp251x_set_normal_mode(struct spi_device *spi)
|
||||
while (mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK) {
|
||||
schedule();
|
||||
if (time_after(jiffies, timeout)) {
|
||||
dev_err(&spi->dev, "MCP251x didn't"
|
||||
" enter in normal mode\n");
|
||||
dev_err(&spi->dev, "MCP251x didn't enter in normal mode\n");
|
||||
return -EBUSY;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user