UPSTREAM: PCI: rockchip: cleanup for rockchip pcie driver
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 7 Oct 2016 09:31:25 +0000 (17:31 +0800)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 18 Oct 2016 07:57:13 +0000 (15:57 +0800)
commit3eb2a3f613f6cd5b9da91be2a29e5f0743b30dfd
treecedaf446259f2b32635a31a2de68aebf4d03d7ce
parentb2f89d4c5affd9290f22610d6e9764d7e075589f
UPSTREAM: PCI: rockchip: cleanup for rockchip pcie driver

Bjorn did some cleanup for rockchip pcie driver after
mereging the drivers. So let's backport it entirely
to keep consisten with the upstream kernel.

[bhelgaas: fold in Brian's rockchip_pcie_client_irq_handler() OR fix, other
fixes and cleanups from Guenter Roeck <linux@roeck-us.net> and me,
uninitialized variable fix from Arnd Bergmann <arnd@arndb.de>]

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