summaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-05-08 22:04:55 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 22:53:26 +0200
commit374212750b06ae2270e0e1e5843cfb33d5faf3f9 (patch)
tree1bf6d35cadd1bdcb813300867376eea2f0498499 /drivers/misc
parentstaging: Remove test of is_broadcast with is_multicast (diff)
downloadlinux-374212750b06ae2270e0e1e5843cfb33d5faf3f9.tar.xz
linux-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;
}