PCI: rockchip: Factor out rockchip_pcie_deinit_phys()
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 23 Aug 2017 07:02:49 +0000 (15:02 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 18:18:07 +0000 (13:18 -0500)
commitde8473f51470805cfd3132cc91598471bb9c5151
tree4e6e9aadb7bf5f94644710be4626a6fdae4020b8
parent41b70b2c6f10de4a3fcf1954bf00c8e620aed67d
PCI: rockchip: Factor out rockchip_pcie_deinit_phys()

Factor out rockchip_pcie_deinit_phys() so it can be reused by
rockchip_pcie_suspend_noirq() and rockchip_pcie_remove().  No functional
change intended.

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