]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra+wm8903: Use devm_gpio_request_one
authorStephen Warren <swarren@nvidia.com>
Tue, 22 May 2012 22:08:55 +0000 (16:08 -0600)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 3 Jun 2012 12:06:36 +0000 (13:06 +0100)
commit98eb1b11bcde12add3a4435a8d66880cf8c1281d
tree6dbb60fc7f15c550e7d077010fde9b106b1a1762
parent6d3d110a99e6f0936089abf76413b7bc344111a3
ASoC: tegra+wm8903: Use devm_gpio_request_one

By using this function, the driver no longer needs to explicitly free
the GPIOs. Hence, we can also remove the flags we use to track whether
we allocated these GPIOs.

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