diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 10:07:14 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 18:32:20 +0300 |
commit | d956b1a87f9bc84aed7bd4f5f5ae52f9ead0381d (patch) | |
tree | 48240fb43d1c3c33a637986bb9afa75ff53e9d20 | |
parent | bff10040672d41bd027c267d78e967c374d4e04b (diff) |
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 <mkl@pengutronix.de>
-rw-r--r-- | net/can/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |