ARM: integrator: Convert PCI to use generic config accessors
authorRob Herring <robh@kernel.org>
Sat, 10 Jan 2015 02:34:41 +0000 (20:34 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Jan 2015 14:34:42 +0000 (08:34 -0600)
commit61dc485b90edc80d39640bd6edd77187a0ee1286
tree591adde09b867535d3b9bcbf3ee748848cc4f846
parent802b7c06adc7186da59110ad136d88919fdb180b
ARM: integrator: Convert PCI to use generic config accessors

Convert the integrator PCI driver to use the generic config access
functions.

This changes accesses from __raw_readX/__raw_writeX to readX/writeX
variants.  The spinlock is removed because it is unnecessary.  The config
read and write functions are already protected with a spinlock and no
access can occur during the .pre_init function.

[arnd: remove unused "flags"]
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
CC: Russell King <linux@arm.linux.org.uk>
CC: linux-arm-kernel@lists.infradead.org
arch/arm/mach-integrator/pci_v3.c