]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3901850ffc517938dcaf978a9eef8b5cf9338183
tree08e8cf6888ab0e631b6e4d82ec6bae2ead1034e8
parent91e8d07d3c1d08a4b4d55e1732c83cedf3fe0607
ASoC: tas2552: Use devm_gpiod_get_optional for enable-gpio

commit 6a05c354f055 ("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