提交 37421275 编写于 作者: T Tomas Winkler 提交者: 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: NTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册