diff options
author | Martyn Welch <[email protected]> | 2022-09-14 16:15:56 +0100 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2022-09-15 10:08:44 +0200 |
commit | 5faf9801d4be7a079062b2ece493ae6e9e38c828 (patch) | |
tree | 5ed60bcc938a048386162a636b056b47124bd27f /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py | |
parent | b122624ab91705d30354f0397b1eea931c6b1933 (diff) |
gpio: pca953x: Swap if statements to save later complexity
A later patch in the series adds support for a further chip type that
shares some similarity with the PCA953X_TYPE. In order to keep the logic
simple, swap over the if and else portions where checks are made against
PCA953X_TYPE and instead check for PCA957X_TYPE.
Signed-off-by: Martyn Welch <[email protected]>
Reviewed-by: Linus Walleij <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/SchedGui.py')
0 files changed, 0 insertions, 0 deletions