commit | 7d50f6656dacf085a00beeedbc48b19a37d17881 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Tue Sep 15 17:51:05 2020 -0700 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Wed Sep 16 10:42:12 2020 -0700 |
tree | d21aad3571975e2b2dbb86af87272ccee96f6acf | |
parent | d04afe14b23651e7a8bc89727a759e982a8458e4 [diff] |
Input: ep93xx_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: 60214f058f44 ("Input: ep93xx_keypad - update driver to new core support") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20200828145744.3636-1-krzk@kernel.org Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>