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>
This commit is contained in:
parent
14fc42355f
commit
374212750b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue