spi/pl022: use more managed resources
authorLinus Walleij <linus.walleij@stericsson.com>
Wed, 26 Sep 2012 14:48:36 +0000 (16:48 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 28 Sep 2012 13:05:06 +0000 (14:05 +0100)
commitaeef9915b9a40d257ec94f9900a3fb4a15da2ab7
tree3c3e9d9707b763047f1fe4a445bc5d71d9addd36
parent8e5d0661b3948f3c5a143f32d192710375822af2
spi/pl022: use more managed resources

This switches the PL022 SPI driver to use devm_* managed resources
for IRQ, clocks, ioremap and GPIO. Prior to this, the GPIOs would
even leak.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/spi/spi-pl022.c
This page took 0.024683 seconds and 5 git commands to generate.