[staging-next 3/4] staging/mei: use dev_err instead of printk

Tomas Winkler tomas.winkler at intel.com
Mon Mar 19 15:58:42 UTC 2012


one instance of bare printk was forgotten in init.c file

Signed-off-by: Tomas Winkler <tomas.winkler at intel.com>
---
 drivers/staging/mei/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/staging/mei/init.c b/drivers/staging/mei/init.c
index eab711f..afb0a58 100644
--- 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;
 	}
-- 
1.7.4.4




More information about the devel mailing list