PCI: rockchip: Factor out rockchip_pcie_get_phys()
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 19 Jul 2017 09:55:12 +0000 (17:55 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 16 Aug 2017 16:43:59 +0000 (11:43 -0500)
commit2ba5991f340b28fe467333740a01a17412ba63dc
treee525a2efb6a1995d3f4e541c73158c8b18f6cb2c
parentb6502e0dcf7077bd05664ddfc7e30cce49bc0b0d
PCI: rockchip: Factor out rockchip_pcie_get_phys()

We plan to introduce per-lane PHYs, so factor out rockchip_pcie_get_phys()
to make it easier in the future.  No functional change intended.

Tested-by: Jeffy Chen <jeffy.chen@rock-chips.com>
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Acked-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/pci/host/pcie-rockchip.c