PCI: imx6: Collect clock enables in imx6_pcie_clk_enable()
authorRichard Zhu <hongxing.zhu@nxp.com>
Thu, 14 Jul 2022 07:30:58 +0000 (15:30 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 1 Aug 2022 20:33:28 +0000 (15:33 -0500)
commit835fe229d7099dc07f34f16780cbad9081da7bf1
tree1ceabc29eb9a5b10a0eb1f5657083cde55663e78
parentd0a75c791f981546618c917293bc20094a923410
PCI: imx6: Collect clock enables in imx6_pcie_clk_enable()

Encapsulate the i.MX PCIe clock enable operations into one standalone
function, imx6_pcie_clk_enable().  No functional change intended.

[bhelgaas: split pure code moves into separate patches]
Link: https://lore.kernel.org/r/1657783869-19194-7-git-send-email-hongxing.zhu@nxp.com
Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
drivers/pci/controller/dwc/pci-imx6.c