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

Use the devm_* helpers to cleanup the probe routine. This also eliminates
having to carry the mem and irq values 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-ac97.c