cpu_pm: call notifiers during suspend
authorColin Cross <ccross@android.com>
Fri, 22 Jul 2011 21:57:09 +0000 (14:57 -0700)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Fri, 23 Sep 2011 06:35:29 +0000 (12:05 +0530)
commit6f3eaec87b6b17bfa49cb3b5b8d07fa84be18512
treeafbb36f2d94758a6b2e00cb8937e0fba7de755a7
parentab10023e0088d5075354afc7cb9e72304757dddd
cpu_pm: call notifiers during suspend

Implements syscore_ops in cpu_pm to call the cpu and
cpu cluster notifiers during suspend and resume,
allowing drivers receiving the notifications to
avoid implementing syscore_ops.

Signed-off-by: Colin Cross <ccross@android.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-and-Acked-by: Shawn Guo <shawn.guo@linaro.org>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
kernel/cpu_pm.c