]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: bdw-rt5677: Use devm_gpiod_get()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 20 Feb 2017 17:46:10 +0000 (19:46 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 7 Mar 2017 12:46:38 +0000 (13:46 +0100)
commita0a326a9953d571b35b0e3564e490840d59d36b4
tree54899595a3ccddbdb569f1b66fe24b4ad5b74ded
parente0ec37018bd61b320f77fd706354ae681ab47aaa
ASoC: Intel: bdw-rt5677: Use devm_gpiod_get()

Since index is always 0 replace devm_gpiod_get_index() by devm_gpiod_get()
and apply proper flags.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/boards/bdw-rt5677.c