ASoC: cs42l52: Convert to use devm_gpio_request_one
authorAxel Lin <axel.lin@ingics.com>
Tue, 8 Apr 2014 14:10:33 +0000 (22:10 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 18 Apr 2014 14:14:39 +0000 (15:14 +0100)
commit4e17d2d33abe4b523f79fec037ef66ba93643f65
treeff286480cacc36925faad275db8f7a6298b147df
parentc9eaa447e77efe77b7fa4c953bd62de8297fd6c5
ASoC: cs42l52: Convert to use devm_gpio_request_one

Current code missed a gpio_free() call in cs42l52_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/cs42l52.c