ASoC: Convert WM8903 driver to register at I2C probe time
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Dec 2008 18:36:42 +0000 (18:36 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 10 Dec 2008 19:47:44 +0000 (19:47 +0000)
commitd58d5d5567ea9483346f57c83a94ce05992cd47c
tree068237c7f8fa0a2290bac0d0e80125677cc1697e
parent78e19a39d3985e2a06354493a70a200c0d432de5
ASoC: Convert WM8903 driver to register at I2C probe time

The driver now registers the codec and DAI when probed as an I2C device.
Also convert the driver to use a single dynamic allocation to simplify
error handling.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8903.c
sound/soc/codecs/wm8903.h