can: dev: can_dev_init(): convert from printk(KERN_INFO) to pr_info
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 26 Jul 2019 07:35:43 +0000 (09:35 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 3 Sep 2019 08:28:13 +0000 (10:28 +0200)
This patch converts the printk(KERN_INFO) in can_dev_init() to
pr_info().

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/dev.c

index 144bb085e0f34d6496302d2b0621540b14a7a30e..0929c7d83e154915328e20f4149a783e4ee89260 100644 (file)
@@ -1266,7 +1266,7 @@ static __init int can_dev_init(void)
 
        err = rtnl_link_register(&can_link_ops);
        if (!err)
-               printk(KERN_INFO MOD_DESC "\n");
+               pr_info(MOD_DESC "\n");
 
        return err;
 }