Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: s3c: irq-s3c24xx: Fix return value check for s3c24xx_init_intc()
The s3c24xx_init_intc() returns an error pointer upon failure, not NULL. let's add an error pointer check in s3c24xx_handle_irq. s3c_intc[0] is not NULL or ERR, we can simplify the code. Fixes: 1f629b7 ("ARM: S3C24XX: transform irq handling into a declarative form") Signed-off-by: Jackie Liu <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
- Loading branch information