]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45034c1ae1daa41fd74880e12fafb18179a6866e
treeb7bd36c3c5052e0d959ef3020e07b40751518a23
parent55addf3150ef37e6b38d415547cc6f20b4d9aca1
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