gpio: mvebu: add suspend/resume support
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 24 Oct 2014 11:59:19 +0000 (13:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 3 Nov 2014 13:28:03 +0000 (14:28 +0100)
This commit adds the implementation of ->suspend() and ->resume()
platform_driver hooks in order to save and restore the state of the
GPIO configuration. In order to achieve that, additional fields are
added to the mvebu_gpio_chip structure.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

No differences found