staging/mei: use dev_err instead of printk
authorTomas Winkler <tomas.winkler@intel.com>
Mon, 19 Mar 2012 15:58:42 +0000 (17:58 +0200)
committerGreg 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

index eab711fb5fc4e65095003726f894cc019341a009..afb0a583b5665a1b032cac2391c115678ddc6577 100644 (file)
@@ -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;
        }