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)
commit177fdd89f9c3f3f157c0b5e0f9c25a3a7c37ecf7
tree72117adeea6ce2afb9436a477bfe1c1c80b0295e
parent009d196b4755b42c02414b287889a337955f7e09
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