ASoC: wm0010: Move resource acquisition to device probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 25 Aug 2012 20:04:04 +0000 (13:04 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 25 Aug 2012 20:23:51 +0000 (13:23 -0700)
commit32c50a31aad77e8faf2718d149da13f2136c1b46
tree981de5f0e88c8f8dae932a206cd0243d9461919a
parentbf9d323722845c8643287dca436e04e34cb21bb8
ASoC: wm0010: Move resource acquisition to device probe

This is more idimatic for modern drivers. Also fix a couple of return
codes while we're at it.

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