commit | 4738dd1992fa13acfbbd71800c71c612f466fa44 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Tue Sep 15 17:52:15 2020 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Sep 16 10:42:13 2020 -0700 |
tree | 2f8ede97f4ba90679c47308b7fb0c938a26d5b57 | |
parent | 7d50f6656dacf085a00beeedbc48b19a37d17881 [diff] |
Input: omap4-keypad - fix handling of platform_get_irq() error platform_get_irq() returns -ERRNO on error. In such case comparison to 0 would pass the check. Fixes: f3a1ba60dbdb ("Input: omap4-keypad - use platform device helpers") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200828145744.3636-2-krzk@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>