ASoC: cs42l73: Convert to use devm_gpio_request_one
authorAxel Lin <axel.lin@ingics.com>
Tue, 8 Apr 2014 14:11:40 +0000 (22:11 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 14:15:11 +0000 (15:15 +0100)
commit2b21694f153a0df88dca7fb4ce04614ea7ff9dc2
treeb7bd36c3c5052e0d959ef3020e07b40751518a23
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: cs42l73: Convert to use devm_gpio_request_one

Current code missed a gpio_free() call in cs42l73_i2c_remove().
Convert to use devm_gpio_request_one() to fix it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs42l73.c