Skip to content

Commit

Permalink
mei: use pr_err instead of printk(KERN_ERR
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed May 9, 2012
1 parent 14fc423 commit 3742127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/misc/mei/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3742127

Please sign in to comment.