diff options
author | 2021-10-07 19:45:22 +0300 | |
---|---|---|
committer | 2021-10-08 13:51:13 +0100 | |
commit | 4e03b1b772ba33ea72e40918819b5e65a30a6eb6 (patch) | |
tree | 4dfc58687cf56b1d80304e97f8ced3055c5162b0 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ASoC: Intel: bytcht_es8316: Use temporary variable for struct device (diff) | |
download | linux-dev-4e03b1b772ba33ea72e40918819b5e65a30a6eb6.tar.xz linux-dev-4e03b1b772ba33ea72e40918819b5e65a30a6eb6.zip |
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/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions