Krzysztof Kozlowski 4738dd1992 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>
2020-09-16 10:42:13 -07:00
..
2020-07-07 11:25:54 -07:00
2020-07-21 19:02:33 -07:00
2019-07-15 09:42:32 -07:00
2019-07-15 09:42:32 -07:00
2020-05-12 12:18:21 -07:00