Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pinctrl: sirf: Remove gpiochip on failure cases
This patch releases gpiochip related resources by calling gpiochip_remove when gpiochip_irqchip_add fails. CC: Linus Walleij <[email protected]> CC: Barry Song <[email protected]> CC: Rongjun Ying <[email protected]> CC: Yuping Luo <[email protected]> Signed-off-by: Pramod Gurav <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
- Loading branch information