ASoC: tas2552: Use devm_gpiod_get_optional for enable-gpio
authorAxel Lin <axel.lin@ingics.com>
Wed, 10 Jun 2015 14:46:05 +0000 (22:46 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jun 2015 10:41:58 +0000 (11:41 +0100)
commit8604bc28365c0673d932b0bfa6e52abb5d4dd62c
tree08e8cf6888ab0e631b6e4d82ec6bae2ead1034e8
parent21e397bd90c303ea9fe18a1f63ddfa67c48f7150
ASoC: tas2552: Use devm_gpiod_get_optional for enable-gpio

commit ea178d1456dc ("ASoC: tas2552: Make the enable-gpio really optional")
makes enable-gpio optional. devm_gpiod_get_optional() is the better
function for optional gpio, so let's switch to use it.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.c