aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2012-05-08 16:04:55 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-05-09 16:53:26 -0400
commit374212750b06ae2270e0e1e5843cfb33d5faf3f9 (patch)
tree1bf6d35cadd1bdcb813300867376eea2f0498499 /drivers/misc
parent14fc42355f10199f39bc38dd2d3e9288a31e770c (diff)
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)
1201 /* init pci module */ 1201 /* init pci module */
1202 ret = pci_register_driver(&mei_driver); 1202 ret = pci_register_driver(&mei_driver);
1203 if (ret < 0) 1203 if (ret < 0)
1204 printk(KERN_ERR "mei: Error registering driver.\n"); 1204 pr_err("error registering driver.\n");
1205 1205
1206 return ret; 1206 return ret;
1207} 1207}