Re: [PATCH 15/19] Driver Core: Rework platform suspend/resume,print warning

From: Pavel Machek
Date: Fri Jun 12 2009 - 07:11:20 EST


On Thu 2009-06-11 22:40:30, Rafael J. Wysocki wrote:
> From: Magnus Damm <damm@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>

Ack.

--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/