ASoC: imx-wm8962: Don't use i2c_client->driver
authorLars-Peter Clausen <lars@metafoo.de>
Sun, 29 Sep 2013 08:51:05 +0000 (10:51 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 3 Oct 2013 20:28:30 +0000 (22:28 +0200)
commit40df24997f947ab5b745d570d56a003705868dcc
tree4d1f816b752207f78553ef1d3fe336301b618626
parenta7cde6d25c494e1bc8c4f89d3096b2fe077c5416
ASoC: imx-wm8962: Don't use i2c_client->driver

The 'driver' field of the i2c_client struct is redundant and is going to be
removed. Check i2c_client->dev.driver instead to see if a driver is bound to the
device.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
sound/soc/fsl/imx-wm8962.c