]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic3x: Use driver_data field of struct i2c_device_id to identify models
authorAxel Lin <axel.lin@gmail.com>
Wed, 28 Sep 2011 13:56:48 +0000 (21:56 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 30 Sep 2011 12:56:35 +0000 (13:56 +0100)
commit0ddc7da7dcf9d095c1766c33e4c65db77332dbcb
tree72117adeea6ce2afb9436a477bfe1c1c80b0295e
parent3149238b92fa821a7d4805982b1e189270ced820
ASoC: tlv320aic3x: Use driver_data field of struct i2c_device_id to identify models

Save model information in driver_data so we can simplify the implementation.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/tlv320aic3x.c