ASoC: ep93xx-i2s: use devm_* helpers to cleanup probe
authorH Hartley Sweeten <hartleys@visionengravers.com>
Mon, 26 Mar 2012 23:00:17 +0000 (16:00 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 1 Apr 2012 10:28:29 +0000 (11:28 +0100)
commit01651babb66fb7b51719ff3389a7bfc3ad25fe13
tree77b7308f74de236973ebfc73a873f581d84a6486
parente7cff0abf99a0895bc2094e08809bd5e0c4f6a4a
ASoC: ep93xx-i2s: use devm_* helpers to cleanup probe

Use the devm_* helpers to cleanup the probe routine. This also eliminates
having to carry the mem value in the private data for the remove.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Tested-by: Mika Westerberg <mika.westerberg@iki.fi>
Acked-by: Mika Westerberg <mika.westerberg@iki.fi>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/ep93xx/ep93xx-i2s.c