diff options
| author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-12-02 22:31:01 +0530 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2017-12-02 22:42:35 +0100 |
| commit | 4070a53496ec0c94fda1da0773eee2e5a5bd0084 (patch) | |
| tree | c01e8132d4db732a0e5db254cc82446bba0180f9 /lib/mpi/mpi-internal.h | |
| parent | 1b43d26985745901c87e0dca44c9b57896062306 (diff) | |
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 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions
