Skip to content

Commit

Permalink
can: slcan: slcan_init() convert printk(LEVEL ...) to pr_level()
Browse files Browse the repository at this point in the history
Convert the last printk(LEVEL ...) to pr_level().

Link: https://lore.kernel.org/all/20220704125954.1587880-3-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
  • Loading branch information
Marc Kleine-Budde committed Jul 19, 2022
1 parent 71f3a4c commit ded5fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/can/slcan/slcan-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1057,7 +1057,7 @@ static int __init slcan_init(void)
/* Fill in our line protocol discipline, and register it */
status = tty_register_ldisc(&slc_ldisc);
if (status) {
printk(KERN_ERR "slcan: can't register line discipline\n");
pr_err("slcan: can't register line discipline\n");
kfree(slcan_devs);
}
return status;
Expand Down

0 comments on commit ded5fa8

Please sign in to comment.