]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c2ded3edb2bcdb15c1fb22e1d5e6b59e43d5eee
tree93c7659c24f47cd5cc979b34572eafd17c67c42f
parentfa944155552811a34a47307642db3de0fb69007d
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