diff options
author | Tomas Winkler <tomas.winkler@intel.com> | 2012-05-08 23:04:55 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-05-09 13:53:26 -0700 |
commit | 374212750b06ae2270e0e1e5843cfb33d5faf3f9 (patch) | |
tree | 1bf6d35cadd1bdcb813300867376eea2f0498499 /drivers/misc | |
parent | 14fc42355f10199f39bc38dd2d3e9288a31e770c (diff) | |
download | linux-3.10-374212750b06ae2270e0e1e5843cfb33d5faf3f9.tar.gz linux-3.10-374212750b06ae2270e0e1e5843cfb33d5faf3f9.tar.bz2 linux-3.10-374212750b06ae2270e0e1e5843cfb33d5faf3f9.zip |
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/mei/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 20f80dfcf31..ef5e3ec40f5 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c @@ -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; } |