From: Magnus Damm Date: Thu, 4 Jun 2009 20:13:33 +0000 (+0200) Subject: Driver Core: Rework platform suspend/resume, print warning X-Git-Tag: v2.6.31-rc1~357^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783ea7d4eeefe895f2731fe73ac951e94418927b;p=pandora-kernel.git 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 Acked-by: Greg Kroah-Hartman Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed