can: rcar_can: fix typo in error message
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Sat, 20 Jun 2015 00:34:55 +0000 (03:34 +0300)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 12 Jul 2015 18:57:41 +0000 (20:57 +0200)
Fix typo in the first error message printed by rcar_can_open().

Based on the original patch by Vladimir Barinov.

Fixes: 862e2b6af941 ("can: rcar_can: support all input clocks")
Reported-by: Vladimir Barinov <vladimir.barinov@cogentembedded.com>
Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/rcar_can.c

index 2f9ebad..310a0cd 100644 (file)
@@ -508,7 +508,8 @@ static int rcar_can_open(struct net_device *ndev)
 
        err = clk_prepare_enable(priv->clk);
        if (err) {
-               netdev_err(ndev, "failed to enable periperal clock, error %d\n",
+               netdev_err(ndev,
+                          "failed to enable peripheral clock, error %d\n",
                           err);
                goto out;
        }