Commit d344c6d6 authored by Marc Kleine-Budde's avatar Marc Kleine-Budde

can: mcp251x: fix print formating strings

This patch fixes the print format strings in the driver.
Acked-by: default avatarSean Nyekjaer <sean@geanix.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent 46695974
...@@ -561,8 +561,7 @@ static int mcp251x_set_normal_mode(struct spi_device *spi) ...@@ -561,8 +561,7 @@ static int mcp251x_set_normal_mode(struct spi_device *spi)
while (mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK) { while (mcp251x_read_reg(spi, CANSTAT) & CANCTRL_REQOP_MASK) {
schedule(); schedule();
if (time_after(jiffies, timeout)) { if (time_after(jiffies, timeout)) {
dev_err(&spi->dev, "MCP251x didn't" dev_err(&spi->dev, "MCP251x didn't enter in normal mode\n");
" enter in normal mode\n");
return -EBUSY; return -EBUSY;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment