Skip to content

Commit 3255f68

Browse files
Sergei Shtylyovmarckleinebudde
authored andcommitted
can: rcar_can: fix typo in error message
Fix typo in the first error message printed by rcar_can_open(). Based on the original patch by Vladimir Barinov. Fixes: 862e2b6 ("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>
1 parent c1a4c87 commit 3255f68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/net/can/rcar_can.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,8 @@ static int rcar_can_open(struct net_device *ndev)
508508

509509
err = clk_prepare_enable(priv->clk);
510510
if (err) {
511-
netdev_err(ndev, "failed to enable periperal clock, error %d\n",
511+
netdev_err(ndev,
512+
"failed to enable peripheral clock, error %d\n",
512513
err);
513514
goto out;
514515
}

0 commit comments

Comments
 (0)