summaryrefslogtreecommitdiffstats
path: root/firmware/korg
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 /firmware/korg
parentPM: Remove device_type suspend()/resume() (diff)
downloadlinux-783ea7d4eeefe895f2731fe73ac951e94418927b.tar.xz
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 'firmware/korg')
0 files changed, 0 insertions, 0 deletions