ASoC: omap-mcbsp: Cleanup of module probe/remove code
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Tue, 14 Feb 2012 12:52:42 +0000 (14:52 +0200)
committerLiam Girdwood <lrg@ti.com>
Mon, 12 Mar 2012 13:34:21 +0000 (13:34 +0000)
commit2ee6595069f29b918b957a013debfae83e68724d
treee3f32aa8b786fdb9c97a4cdf38b892ec021877ea
parentcb40b63a224b41325a8ecdbeed5290866864b9ae
ASoC: omap-mcbsp: Cleanup of module probe/remove code

Use devm_* where it is possible to save on cleanup path.
Start merging the two mcbsp file content.
Move pm_runtime_enable/disable calls to ASoC probe, remove from module
probe/remove time.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Tested-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Liam Girdwood <lrg@ti.com>
sound/soc/omap/mcbsp.c
sound/soc/omap/mcbsp.h
sound/soc/omap/omap-mcbsp.c