commit | 4070a53496ec0c94fda1da0773eee2e5a5bd0084 | [log] [tgz] |
---|---|---|
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | Sat Dec 02 22:31:01 2017 +0530 |
committer | Linus Walleij <linus.walleij@linaro.org> | Sat Dec 02 22:42:35 2017 +0100 |
tree | c01e8132d4db732a0e5db254cc82446bba0180f9 | |
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>