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: 862e2b6af9
("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>
This commit is contained in:
parent
c1a4c87b06
commit
3255f68c13
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue