diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2016-10-07 10:59:51 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-10-21 12:03:13 +0100 |
commit | ad466a4633766fe147d7d996daa5511b7b874c7a (patch) | |
tree | d2d11859c3a1656f9686b06087334b6f74e7a789 /tools | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) |
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>
Diffstat (limited to 'tools')