diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-06-04 22:13:33 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-06-12 21:32:32 +0200 |
commit | 783ea7d4eeefe895f2731fe73ac951e94418927b (patch) | |
tree | 175b7ec1684d55710a7a921d4bd81e549ae4ed52 /kernel/power/suspend.c | |
parent | 00725787511e20dbd1fdc1fb233606120ae5c8cf (diff) | |
download | linux-783ea7d4eeefe895f2731fe73ac951e94418927b.tar.gz linux-783ea7d4eeefe895f2731fe73ac951e94418927b.tar.bz2 linux-783ea7d4eeefe895f2731fe73ac951e94418927b.zip |
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/suspend.c')
0 files changed, 0 insertions, 0 deletions