diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-12-02 18:01:01 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 22:42:35 +0100 |
commit | 4070a53496ec0c94fda1da0773eee2e5a5bd0084 (patch) | |
tree | c01e8132d4db732a0e5db254cc82446bba0180f9 /Documentation/w1/masters | |
parent | gpio: aspeed: Add support for reset tolerance (diff) | |
download | linux-4070a53496ec0c94fda1da0773eee2e5a5bd0084.tar.xz linux-4070a53496ec0c94fda1da0773eee2e5a5bd0084.zip |
gpio: ftgpio010: Fix platform_get_irq's error checking
The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/w1/masters')
0 files changed, 0 insertions, 0 deletions