diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2021-12-02 23:56:12 +0300 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2021-12-06 16:49:29 +0300 |
| commit | c1a77ba466c0dd0bdf1ec2bbebb8996d7cd7b8f7 (patch) | |
| tree | 86fc8e27acc25eb1779e82249719d77ef0cda21f /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 4db32072b8ab18a8b90191c57c74f42d00bf9991 (diff) | |
| download | linux-c1a77ba466c0dd0bdf1ec2bbebb8996d7cd7b8f7.tar.xz | |
ASoC: ti: davinci-mcasp: Remove unnecessary conditional
Instead of double validating of_node, return value of
the boolean property directly.
We can't remove ifdeffery, because in OF_GPIO=n cases
it might bring unwanted surprises.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@gmail.com>
Link: https://lore.kernel.org/r/20211202205612.76216-2-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
