PCI: rockchip: Remove IRQ domain if probe fails
authorJeffy Chen <jeffy.chen@rock-chips.com>
Wed, 23 Aug 2017 07:03:31 +0000 (15:03 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 18:18:08 +0000 (13:18 -0500)
commit7b15b85927d6b04d0d8f1caf217bc6312486fdd5
treef89e37cb560bb476231f82df64d5d7b4354e8e17
parentefee827d3ddb8bd219392cbedc5e5afc6ccfd617
PCI: rockchip: Remove IRQ domain if probe fails

Call irq_domain_remove() to clean up if probe fails.

Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/host/pcie-rockchip.c