Skip to content

Commit

Permalink
staging/mei: use dev_err instead of printk
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Apr 10, 2012
1 parent 5192dda commit d39a464
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/mei/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d39a464

Please sign in to comment.