ASoC: ad193x: move codec register/unregister to bus probe/remove
authorBarry Song <21cnbao@gmail.com>
Mon, 29 Mar 2010 03:16:00 +0000 (11:16 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 29 Mar 2010 20:02:24 +0000 (21:02 +0100)
commit9dd7b79a86c53a097463ee1582c0bc6c4b83b770
tree595e287ac87329f561c7a192ffc97d0aea36a7dd
parente6ab07ce0f0cb1636fd14aa4f3e6e9631bd5d0c6
ASoC: ad193x: move codec register/unregister to bus probe/remove

The way i've factored out the bus probe and removal functions so
that there's no code in the individual I2C and SPI functions means
that the register() and unregister() functions could just be squashed
into the bus_probe() and bus_remove() functions.

Signed-off-by: Barry Song <21cnbao@gmail.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad193x.c