regulators: max8998.c: use dev_err() instead of printk()
authorThiago Farina <tfransosi@gmail.com>
Sat, 23 Feb 2013 03:52:35 +0000 (00:52 -0300)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 4 Mar 2013 02:53:01 +0000 (10:53 +0800)
commit9df19a5597f70e8fd15c065035f5b6362fec91a5
treef206611533a0b206e7d6177b63a1c07f7c6a6e63
parent6dbe51c251a327e012439c4772097a13df43c5b8
regulators: max8998.c: use dev_err() instead of printk()

Fixes the following checkpatch warning:

WARNING: Prefer netdev_err(netdev, ... then dev_err(dev, ... then pr_err(...  to printk(KERN_ERR ...

Signed-off-by: Thiago Farina <tfarina@chromium.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/max8998.c