Commit 37421275 authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman

mei: use pr_err instead of printk(KERN_ERR

pr_ format is more compact and enable utilizing of pr_fmt macro
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14fc4235
...@@ -1201,7 +1201,7 @@ static int __init mei_init_module(void) ...@@ -1201,7 +1201,7 @@ static int __init mei_init_module(void)
/* init pci module */ /* init pci module */
ret = pci_register_driver(&mei_driver); ret = pci_register_driver(&mei_driver);
if (ret < 0) if (ret < 0)
printk(KERN_ERR "mei: Error registering driver.\n"); pr_err("error registering driver.\n");
return ret; return ret;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment