diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-10-07 19:45:22 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-10-08 13:51:13 +0100 |
commit | 4e03b1b772ba33ea72e40918819b5e65a30a6eb6 (patch) | |
tree | 4dfc58687cf56b1d80304e97f8ced3055c5162b0 /tools/perf/scripts/python | |
parent | e8ccf82b8a573c543a5356f503cf2edb66cccb6f (diff) |
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>
Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Message-Id: <20211007164523.27094-4-andriy.shevchenko@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions