ASoC: AD1836: Add ADC/DAC controls helper macros
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jun 2011 11:38:36 +0000 (13:38 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 20:54:41 +0000 (21:54 +0100)
commit90bc11d1d0310e5e6bfbdea6ed21047b3865df05
treeec6599e1c21f88b7dd8e8407a3e0b6e2cdd7dd0c
parent85e9e766380fe40e1937b8316e8aa867544f09f1
ASoC: AD1836: Add ADC/DAC controls helper macros

The different ADC and DAC controls follow the same scheme, so add some helper
macros for declaring them.
This should make the code a bit more readable and also decreases the code size
a bit.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad1836.c
sound/soc/codecs/ad1836.h