From d956b1a87f9bc84aed7bd4f5f5ae52f9ead0381d Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Tue, 13 Aug 2019 09:07:14 +0200 Subject: 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: Marc Kleine-Budde --- net/can/raw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'net/can') diff --git a/net/can/raw.c b/net/can/raw.c index 54517f9b1662..a28b285545e5 100644 --- a/net/can/raw.c +++ b/net/can/raw.c @@ -885,7 +885,7 @@ static __init int raw_module_init(void) err = can_proto_register(&raw_can_proto); if (err < 0) - printk(KERN_ERR "can: registration of raw protocol failed\n"); + pr_err("can: registration of raw protocol failed\n"); return err; } -- cgit v1.2.3-70-g09d2