i2c: nomadik: use pinctrl PM helpers
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 5 Jun 2013 13:38:02 +0000 (15:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 16 Jun 2013 09:56:52 +0000 (11:56 +0200)
commitac844b62713045557c834c8d5fe2863b8bbaf124
tree33b5d914b373beccc6e591bf22eb14a88d26c862
parent2b996fc50099f55d441470b55acc40c61f947025
i2c: nomadik: 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: Mark Brown <broonie@kernel.org>
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>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/i2c/busses/i2c-nomadik.c