summaryrefslogtreecommitdiff
path: root/sound/soc/soc-card.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2021-10-06 18:04:27 +0300
committerMark Brown <broonie@kernel.org>2021-10-07 17:45:10 +0300
commit10f4a96543b744c8cc7ef8b0799af21d911dd37d (patch)
tree1eb8dfd116c599ef3c5ed1be2979e2405bea97da /sound/soc/soc-card.c
parent6f32c521061b704c0198be3ba9834f5a64ea5605 (diff)
downloadlinux-10f4a96543b744c8cc7ef8b0799af21d911dd37d.tar.xz
ASoC: Intel: bytcht_es8316: Switch to use gpiod_get_optional()
First of all, replace indexed API by plain one since we have index 0. Second, switch to optional variant and drop duplicated code. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20211006150428.16434-3-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-card.c')
0 files changed, 0 insertions, 0 deletions