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

can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...)

This patch converts a printk(KERN_ERR, ...) to a pr_err().
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent bff10040
...@@ -885,7 +885,7 @@ static __init int raw_module_init(void) ...@@ -885,7 +885,7 @@ static __init int raw_module_init(void)
err = can_proto_register(&raw_can_proto); err = can_proto_register(&raw_can_proto);
if (err < 0) if (err < 0)
printk(KERN_ERR "can: registration of raw protocol failed\n"); pr_err("can: registration of raw protocol failed\n");
return err; return err;
} }
......
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