mirror of
https://github.com/torvalds/linux.git
synced 2026-11-26 16:33:17 +00:00
platform_get_irq() can return an error code. Allow for this when getting
the irq.
Fixes: 6f265e5d4d ("pinctrl: bcm-iproc: Pass irqchip when adding gpiochip")
Signed-off-by: Chris Packham <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Acked-by: Scott Branden <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>