commit | b10e97003d28f6c83edd79e17dfec91acfbb7377 | [log] [tgz] |
---|---|---|
author | Krzysztof Kozlowski <krzk@kernel.org> | Fri Oct 04 17:07:38 2019 +0200 |
committer | Sebastian Reichel <sre@kernel.org> | Sun Oct 20 15:18:44 2019 +0200 |
tree | 94c8d7ada292b18dd8def67c664c488636aebd55 | |
parent | 24108993278d67174a61f9ead38d4d9d1c001a14 [diff] |
power: supply: ab8500: Handle invalid IRQ from platform_get_irq_byname() platform_get_irq_byname() might return -errno which later would be cast to an unsigned int and used in request_irq(). Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Acked-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>