ASoC: rl6347a: Use dev_err for I2C communication error prints
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Fri, 7 Oct 2016 07:59:51 +0000 (10:59 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 28 Oct 2016 16:36:35 +0000 (17:36 +0100)
commitb058b176dd26546bcef8f8b774f1542b2907af5f
treebb3b76c2bc8f7572a707985d3c3eeebad9afe842
parent14970f204b1993af7459d5bd34aaff38dfee6670
ASoC: rl6347a: Use dev_err for I2C communication error prints

It's difficult to guess from bunch of "ret=-121" errors what driver and
device actually caused them. Since struct i2c_client has the dev pointer
use that for dev_err() with meaningful error message.

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6347a.c