gpio: rcar: Add minimal runtime PM support
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 14 Apr 2014 18:33:13 +0000 (20:33 +0200)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:13 +0000 (11:14 +0100)
commit2907750db0ee2553c52e5f212dd501a50da38968
tree45502ac68a69538dddf1c601f4c7f55ade952c2d
parent5df58023887e0362976ecc5e9b9b64682a36ba33
gpio: rcar: Add minimal runtime PM support

This is just enough to automatically enable the functional clock, if
present. Clock management during suspend/resume is still to be added.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: linux-gpio@vger.kernel.org
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
(cherry picked from commit df0c6c80232f2ad442dcf79a3a420eb8ac624e42)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/gpio/gpio-rcar.c