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:
Tomas Winkler 2012-05-08 23:04:55 +03:00 committed by Greg Kroah-Hartman
parent 14fc42355f
commit 374212750b
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}