On Wed, Nov 7, 2012 at 4:01 PM, Laxman Dewangan <ldewangan@xxxxxxxxxx> wrote: > 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@xxxxxxxxxx> OK patch applied to my devel branch, with Stephens ACK and I also fixed the whitespace issue he pointed out. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-tegra" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html