From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH][RFC] Driver Core: Rework platform suspend/resume, print warning Date: Mon, 1 Jun 2009 14:02:56 -0700 Message-ID: <20090601210255.GB2236@suse.de> References: <20090601102044.10780.12920.sendpatchset@rx1.opensource.se> <200906012044.27631.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: <200906012044.27631.rjw@sisk.pl> 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: linux-pm@lists.linux-foundation.org List-Id: linux-pm@vger.kernel.org On Mon, Jun 01, 2009 at 08:44:27PM +0200, Rafael J. Wysocki wrote: > On Monday 01 June 2009, Magnus Damm 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 > > Greg, is this patch fine with you? Fine with me. If you want to take it in your tree, feel free to add: Acked-by: Greg Kroah-Hartman thanks, greg k-h