diff options
| author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2026-07-15 21:16:03 +0200 |
|---|---|---|
| committer | Lee Jones <lee@kernel.org> | 2026-07-30 14:33:15 +0100 |
| commit | b1eb3de64d02cec71b419b9918d1697797fa156d (patch) | |
| tree | 72f11b7889ea0f0112c0d5185187569219062b6f /tools/perf/scripts/python | |
| parent | a764e2a617592e5b0cb7646d81973ad765569b3a (diff) | |
| download | linux-b1eb3de64d02cec71b419b9918d1697797fa156d.tar.gz linux-b1eb3de64d02cec71b419b9918d1697797fa156d.zip | |
mfd: si476x-i2c: Get rid of duplicate NULL checks
GPIO descriptor APIs are NULL-aware and since the requested line is optional
we don't need to have an additional check each time we want to toggle GPIO.
Get rid of duplicate NULL checks.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20260715191603.1325479-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
