]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: integrator: use devm_ioremap() to remap CM
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 10 Oct 2013 14:51:28 +0000 (16:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 16 Oct 2013 12:10:10 +0000 (14:10 +0200)
commit99d14a1d9b876c9847608983606fa1928f5bf8f3
treef9b3d5ee0ca78d8bc8f41d885ffad39c2a5410fa
parentbdac7eacc43d2e4f2e2b9d5e70050138f5d07d62
ARM: integrator: use devm_ioremap() to remap CM

In the PCIv3 driver, use devm_ioremap() instead of just ioremap()
when remapping the system controller in the PCIv3 driver, so
the mapping will be automatically released on probe failure.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/pci_v3.c