summaryrefslogtreecommitdiffstats
path: root/kernel/power/Makefile
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-06-04 22:13:33 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-06-12 21:32:32 +0200
commit783ea7d4eeefe895f2731fe73ac951e94418927b (patch)
tree175b7ec1684d55710a7a921d4bd81e549ae4ed52 /kernel/power/Makefile
parent00725787511e20dbd1fdc1fb233606120ae5c8cf (diff)
Driver Core: Rework platform suspend/resume, print warning
This patch reworks the platform driver code for legacy suspend and resume to avoid installing callbacks in struct device_driver. A warning is also added telling users to update the platform driver to use dev_pm_ops. The functions platform_legacy_suspend()/resume() directly call suspend and resume callbacks in struct platform_driver instead of wrapping things in platform_drv_suspend()/resume(). 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>
Diffstat (limited to 'kernel/power/Makefile')
0 files changed, 0 insertions, 0 deletions