[alsa-devel] [PATCH] ad193x: move codec register/unregister to bus probe/remove
Liam Girdwood
lrg at slimlogic.co.uk
Mon Mar 29 15:40:01 CEST 2010
On Mon, 2010-03-29 at 11:16 +0800, Barry Song wrote:
> 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 at gmail.com>
> ---
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
Btw, the multi-codec branch does very similar refactoring and removes
the need for the extra register/unregister too.
Liam
More information about the Alsa-devel
mailing list