commit | 90bc11d1d0310e5e6bfbdea6ed21047b3865df05 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Mon Jun 06 13:38:36 2011 +0200 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Mon Jun 06 21:54:41 2011 +0100 |
tree | ec6599e1c21f88b7dd8e8407a3e0b6e2cdd7dd0c | |
parent | 85e9e766380fe40e1937b8316e8aa867544f09f1 [diff] |
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>