]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: layerscape: Refactor ls1021_pcie_host_init()
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Mon, 28 Aug 2017 10:52:57 +0000 (18:52 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 21:15:09 +0000 (16:15 -0500)
commit88ac2bd45daaf1a94dd8ee4011ae04368a2358d0
tree763d4ad50cb47f60e752a3f9dae7f7b8ba3a9e45
parent643f9e5591ed8dd586848cd87cef0de98f9f153b
PCI: layerscape: Refactor ls1021_pcie_host_init()

ls1021_pcie_host_init() duplicated the code in the generic
ls_pcie_host_init().  Call ls_pcie_host_init() instead of duplicating the
code.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Roy Zang <tie-fei.zang@freescale.com>
drivers/pci/dwc/pci-layerscape.c