cpu_pm: call notifiers during suspend
authorColin Cross <ccross@android.com>
Fri, 22 Jul 2011 21:57:09 +0000 (14:57 -0700)
committer黄涛 <huangtao@rock-chips.com>
Wed, 22 Feb 2012 06:09:44 +0000 (14:09 +0800)
commit1ba5cc0dbba2c232dbc5bb9fd3aca58832df13ff
treec7806371961d26501519b016a7e94401f8a22f54
parentdd5fa6df90fc2264287670e8bb7ae3b46fd479da
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