ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver
authorStephen Warren <swarren@nvidia.com>
Wed, 23 Nov 2011 01:21:15 +0000 (18:21 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 23 Nov 2011 10:24:10 +0000 (10:24 +0000)
commitf2296d7bf19a210a462a57bb90b1c9263d18a4ee
treef1e36cfba34ab48d47d160fe2a13878cc7976c2c
parent99c92ae4ffca81f4dfba3b7648734c56d0b32d4c
ASoC: Tegra DAS: Use devm_ APIs and module_platform_driver

module_platform_drive 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/tegra_das.c