ASoC: Tegra TrimSlice machine: Use devm_ APIs and module_platform_driver
authorStephen Warren <swarren@nvidia.com>
Wed, 23 Nov 2011 01:21:21 +0000 (18:21 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 11:10:52 +0000 (11:10 +0000)
commit45c26091205eb6ad737329c5973f46fd7c122595
tree93c7659c24f47cd5cc979b34572eafd17c67c42f
parente4e4c18a930ff11940ba2c525676566bd631706f
ASoC: Tegra TrimSlice machine: Use devm_ APIs and module_platform_driver

module_platform_driver saves some boiler-plate code.

The devm_ APIs remove the need to manually clean up allocations,
thus removing some code.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/tegra/trimslice.c