From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pavel Machek Subject: Re: [PATCH 15/19] Driver Core: Rework platform suspend/resume, print warning Date: Fri, 12 Jun 2009 13:10:52 +0200 Message-ID: <20090612111051.GO18682@elf.ucw.cz> References: <0615007ad8090a890586d530b5d3bb98da566014.1244752872.git.rjw@sisk.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-pm-bounces@lists.linux-foundation.org Errors-To: linux-pm-bounces@lists.linux-foundation.org To: "Rafael J. Wysocki" Cc: Sergio Luis , Lauro Salmito , Greg Kroah-Hartman , Heiko Carstens , Linux Kernel Mailing List , Jaswinder Singh Rajput , Magnus Damm , Linux PM List , Wu Fengguang , Ingo Molnar List-Id: linux-pm@vger.kernel.org On Thu 2009-06-11 22:40:30, Rafael J. Wysocki wrote: > From: Magnus Damm > > 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 Ack. -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html