diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-06-04 20:13:33 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-06-12 19:32:32 (GMT) |
commit | 783ea7d4eeefe895f2731fe73ac951e94418927b (patch) | |
tree | 175b7ec1684d55710a7a921d4bd81e549ae4ed52 /COPYING | |
parent | 00725787511e20dbd1fdc1fb233606120ae5c8cf (diff) | |
download | linux-fsl-qoriq-783ea7d4eeefe895f2731fe73ac951e94418927b.tar.xz |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions