ASoC: wm9712: Cleanup printk usage
authorLars-Peter Clausen <lars@metafoo.de>
Thu, 30 Oct 2014 20:01:05 +0000 (21:01 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 31 Oct 2014 17:32:03 +0000 (17:32 +0000)
commit12ced338ab8858d11ef5b11b65c3dc612d9551c9
tree12bc1aa1d5a4526779b958539aaef86159c4db46
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: wm9712: Cleanup printk usage

Use dev_err() instead of printk(KERN_ERR. This is common practice and makes
it easy to find out which device generated the message. While we are at it
also align the error messages with the other AC'97 drivers.

Also avoid printing two error messages when the reset fails.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm9712.c