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)
commite2d287c179a12a6069bc3b746e2e34edcddf81b3
tree6dbb60fc7f15c550e7d077010fde9b106b1a1762
parentf51022f1aedc4d1a02d0dfa8fde47f6a8291f618
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