spi: pl022: use pinctrl PM helpers
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 10 Jun 2013 14:57:09 +0000 (16:57 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:57:32 +0000 (11:57 +0200)
commitf1c9cf074b6abb4c7cbb163d193470c93cb1ad5b
treefadc45743d5a665654d3810a7fd2bf21164783a3
parent7f884b648307a06917d5da33e57c57ba4b0d6542
spi: pl022: use pinctrl PM helpers

This utilize the new pinctrl core PM helpers to transition
the driver to "sleep" and "idle" states, cutting away some
boilerplate code.

Cc: Hebbar Gururaja <gururaja.hebbar@ti.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Kevin Hilman <khilman@linaro.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Wolfram Sang <wsa@the-dreams.de>
Acked-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/spi/spi-pl022.c