diff options
| author | Haibo Chen <[email protected]> | 2022-12-11 00:05:59 +0200 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2023-01-30 15:55:27 +0100 |
| commit | b1453d1eb93fd34848082fd181ff247f19c0ee86 (patch) | |
| tree | 456fdefc354c96817ff8484516158f2e5f96ca21 /scripts | |
| parent | 29f5c6e69f6198219c966acc91f99eb7f2669d61 (diff) | |
gpio: pca953x: avoid logically dead code
The current code logic make the condition "else if (reg >= 0x54)"
can't be true, cause the dead code. So fix it to match the coder
expectation. This is reported by Coverity.
Fixes: 13c5d4ce8060 ("gpio: pca953x: Add support for PCAL6534")
Signed-off-by: Haibo Chen <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions