ASoC: rt5665: Use devm_gpio_request_one()
authorAxel Lin <axel.lin@ingics.com>
Wed, 16 Nov 2016 13:08:42 +0000 (21:08 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 16 Nov 2016 16:27:29 +0000 (16:27 +0000)
commitf2826c1fe5d071fa437d337c41df979b60f0fc32
tree0e1a00bafbe138ef38a04784780ca6d96d2b4d48
parent0c95666f0d7364e364ab53e068f7891c98e90012
ASoC: rt5665: Use devm_gpio_request_one()

Simplify the code a bit.

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