diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2022-04-23 11:42:26 +0200 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-05-04 17:37:48 +0200 |
commit | 50f0f26e7c8665763d0d7d3372dbcf191f94d077 (patch) | |
tree | e955c07394be90481ba98a7ae7a86d5754f47489 /drivers/irqchip/irq-aspeed-scu-ic.c | |
parent | irqchip/sun6i-r: Use NULL for chip_data (diff) | |
download | linux-50f0f26e7c8665763d0d7d3372dbcf191f94d077.tar.xz linux-50f0f26e7c8665763d0d7d3372dbcf191f94d077.zip |
irqchip/aspeed-i2c-ic: Fix irq_of_parse_and_map() return value
The irq_of_parse_and_map() returns 0 on failure, not a negative ERRNO.
Fixes: f48e699ddf70 ("irqchip/aspeed-i2c-ic: Add I2C IRQ controller for Aspeed")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220423094227.33148-1-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'drivers/irqchip/irq-aspeed-scu-ic.c')
0 files changed, 0 insertions, 0 deletions