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)
commitb3ec72ace939b0abd75d5d875e77cf0b777debb7
tree54899595a3ccddbdb569f1b66fe24b4ad5b74ded
parent08458871b60c4bfe49973ce1c27a2b4bc4c159b0
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