summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/twl4030.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-08-12 10:59:15 +0100
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-08-12 14:02:06 +0100
commita6d14342dc46f0ef94cccf323fd9481de84b458f (patch)
tree7556a696372d7e023e482406628c08d4924418ea /sound/soc/codecs/twl4030.c
parent960d0697919aef453273e3a0ccc87daf52d808ac (diff)
ASoC: Automatically determine control_data for soc-cache users
Since the provision of a struct device for the CODEC is now mandatory we can use container_of() to locate the struct i2c_client and struct spi_device for relevant devices, removing the need to manually set it in each driver. A further patch will automate selection of the control type based on the bus_type of the struct device, further reducing the amount of driver code required. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/twl4030.c')
0 files changed, 0 insertions, 0 deletions