PCI: rockchip: Use readl_poll_timeout() instead of open-coding it
authorShawn Lin <shawn.lin@rock-chips.com>
Wed, 18 Jan 2017 08:29:15 +0000 (16:29 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 30 Jan 2017 20:50:37 +0000 (14:50 -0600)
commit7faebda21d573a6889bab1e0100ed4092a5a4716
tree38b92c8e1653e779b4366812fc59efdfdb899707
parentafc9595ea4770f0157ae06fb3acedff703e169b6
PCI: rockchip: Use readl_poll_timeout() instead of open-coding it

Use readl_poll_timeout() instead of open-coding it.

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