PCI: rockchip: Factor out rockchip_pcie_disable_clocks()
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 23 Aug 2017 07:02:28 +0000 (15:02 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 18:18:07 +0000 (13:18 -0500)
commit41b70b2c6f10de4a3fcf1954bf00c8e620aed67d
tree2a2aea9cb2941813a1b3e38c15bf2cbd172491f9
parent09df7bc40a15823e1b3e30135fc0f22eb97a0abb
PCI: rockchip: Factor out rockchip_pcie_disable_clocks()

Factor out rockchip_pcie_disable_clocks() so it can be reused by other
functions.

No functional change intended, but it does change the order of unpreparing
clocks in the rockchip_pcie_resume_noirq() error path so it matches the
other paths.

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