can: mcp251x: fix print formating strings
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 13 Aug 2019 13:33:01 +0000 (15:33 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 20 Aug 2019 11:41:26 +0000 (13:41 +0200)
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>
drivers/net/can/spi/mcp251x.c

index febb44c..e86f087 100644 (file)
@@ -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;
                        }
                }