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)
commitfa92dba92c0026a8378085dbeab8a1d8ad8476c6
tree763d4ad50cb47f60e752a3f9dae7f7b8ba3a9e45
parentba95a82e31490b2415e9fe967c6997f5dac8fe31
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