summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-05-08 23:04:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 13:53:26 -0700
commit374212750b06ae2270e0e1e5843cfb33d5faf3f9 (patch)
tree1bf6d35cadd1bdcb813300867376eea2f0498499 /drivers/misc
parent14fc42355f10199f39bc38dd2d3e9288a31e770c (diff)
downloadlinux-stable-374212750b06ae2270e0e1e5843cfb33d5faf3f9.tar.gz
linux-stable-374212750b06ae2270e0e1e5843cfb33d5faf3f9.tar.bz2
linux-stable-374212750b06ae2270e0e1e5843cfb33d5faf3f9.zip
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 <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/mei/main.c2
1 files changed, 1 insertions, 1 deletions
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;
}