Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Input: twl4030_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: 7abf38d ("Input: twl4030-keypad - add device tree support") Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
- Loading branch information