From: Tomas Winkler Date: Tue, 8 May 2012 20:04:55 +0000 (+0300) Subject: mei: use pr_err instead of printk(KERN_ERR X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=374212750b06ae2270e0e1e5843cfb33d5faf3f9;p=linux-beck.git mei: use pr_err instead of printk(KERN_ERR pr_ format is more compact and enable utilizing of pr_fmt macro Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 20f80dfcf319..ef5e3ec40f55 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -1201,7 +1201,7 @@ static int __init mei_init_module(void) /* init pci module */ ret = pci_register_driver(&mei_driver); if (ret < 0) - printk(KERN_ERR "mei: Error registering driver.\n"); + pr_err("error registering driver.\n"); return ret; }