projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5192dda
)
staging/mei: use dev_err instead of printk
author
Tomas Winkler
<tomas.winkler@intel.com>
Mon, 19 Mar 2012 15:58:42 +0000
(17:58 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 16:35:52 +0000
(09:35 -0700)
one instance of bare printk was forgotten in init.c file
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mei/init.c
patch
|
blob
|
history
diff --git
a/drivers/staging/mei/init.c
b/drivers/staging/mei/init.c
index
eab711f
..
afb0a58
100644
(file)
--- a/
drivers/staging/mei/init.c
+++ b/
drivers/staging/mei/init.c
@@
-200,7
+200,7
@@
int mei_hw_init(struct mei_device *dev)
if (!(dev->me_hw_state & ME_RDY_HRA))
dev_dbg(&dev->pdev->dev, "ME turn off ME_RDY.\n");
-
printk(KERN_ERR "mei:
link layer initialization failed.\n");
+
dev_err(&dev->pdev->dev, "
link layer initialization failed.\n");
ret = -ENODEV;
goto out;
}