From: Ulf Hansson Date: Tue, 10 Dec 2013 13:37:41 +0000 (+0100) Subject: PM / Runtime: Implement the pm_generic_runtime functions for CONFIG_PM X-Git-Tag: v3.14-rc1~107^2~6^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=717e5d458e3bfca495a38dca61c64f274c049e46;p=pandora-kernel.git PM / Runtime: Implement the pm_generic_runtime functions for CONFIG_PM The pm_generic_runtime_suspend|resume functions were implemented within CONFIG_PM_RUNTIME. As we also may use runtime PM callbacks during system suspend, to put devices into low power state, we need to move the implementation of pm_generic_runtime_suspend|resume to CONFIG_PM. This change gives a power domain provision to invoke a platform driver's runtime PM callback from a power domain's system PM callback. This were earlier prevented by the platform bus, since it uses the pm_generic_runtime_suspend|resume functions as runtime PM callbacks. Cc: Kevin Hilman Cc: Alan Stern Signed-off-by: Ulf Hansson Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed