PM: Run-time PM platform device bus support
authorMagnus Damm <damm@igel.co.jp>
Thu, 20 Aug 2009 18:25:32 +0000 (20:25 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Sat, 22 Aug 2009 22:05:31 +0000 (00:05 +0200)
commit9d7302299ee96ca954fe4ab8ca640333b6e19ad0
tree6694cfef0d50e53841af9b0954831c03f136af20
parent5e928f77a09a07f9dd595bb8a489965d69a83458
PM: Run-time PM platform device bus support

This patch adds default Runtime PM callbacks to the dev_pm_ops
belonging to the platform bus. The callbacks are weak symbols
that architecture specific code can override.

Allows Runtime PM even though CONFIG_PM_SLEEP=n.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/platform.c