diff options
author | 2020-09-15 17:52:15 -0700 | |
---|---|---|
committer | 2020-09-16 10:42:13 -0700 | |
commit | 4738dd1992fa13acfbbd71800c71c612f466fa44 (patch) | |
tree | 2f8ede97f4ba90679c47308b7fb0c938a26d5b57 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Input: ep93xx_keypad - fix handling of platform_get_irq() error (diff) | |
download | wireguard-linux-4738dd1992fa13acfbbd71800c71c612f466fa44.tar.xz wireguard-linux-4738dd1992fa13acfbbd71800c71c612f466fa44.zip |
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions