summaryrefslogtreecommitdiffstats
path: root/arch/s390/hypfs
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2012-11-07 16:01:32 +0100
committerLinus Walleij <linus.walleij@linaro.org>2012-11-08 22:23:18 +0100
commit8939ddc76a2f3399be98a60246ae0b365442f008 (patch)
tree60771f0178d62b5f0f7592931b1dafc93c25395c /arch/s390/hypfs
parentgpio-pch: Set parent dev for gpio chip (diff)
downloadlinux-8939ddc76a2f3399be98a60246ae0b365442f008.tar.xz
linux-8939ddc76a2f3399be98a60246ae0b365442f008.zip
gpio: tegra: fix suspend/resume apis
Following are changes done to fix the suspend/resume functionality of tegra gpio driver: - Protect suspend/resume callbacks with CONFIG_PM_SLEEP because CONFIG_PM doesn't actually enable any of the PM callbacks, it only allows to enable CONFIG_PM_SLEEP and CONFIG_PM_RUNTIME. This means if CONFIG_PM is used to protect system sleep callbacks then it may end up unreferenced if only runtime PM is enabled. - Fix the suspend/resume APIs declaration as per callback prototype. Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Acked-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/s390/hypfs')
0 files changed, 0 insertions, 0 deletions