mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 13:23:35 -04:00
can: slcan: slcan_init() convert printk(LEVEL ...) to pr_level()
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user