public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] PM: kill dev_pm_ops platform warning for now
@ 2009-08-07  8:34 Magnus Damm
  2009-08-08 13:16 ` Rafael J. Wysocki
       [not found] ` <200908081516.24018.rjw@sisk.pl>
  0 siblings, 2 replies; 5+ messages in thread
From: Magnus Damm @ 2009-08-07  8:34 UTC (permalink / raw)
  To: linux-pm; +Cc: gregkh

From: Magnus Damm <damm@igel.co.jp>

Remove the platform device runtime dev_pm_ops warning
for now. No point in upsetting users of non-rc kernels.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
---

 Suitable for 2.6.31-rc.

 drivers/base/platform.c |    3 ---
 1 file changed, 3 deletions(-)

--- 0001/drivers/base/platform.c
+++ work/drivers/base/platform.c	2009-08-07 12:37:04.000000000 +0900
@@ -483,9 +483,6 @@ int platform_driver_register(struct plat
 		drv->driver.remove = platform_drv_remove;
 	if (drv->shutdown)
 		drv->driver.shutdown = platform_drv_shutdown;
-	if (drv->suspend || drv->resume)
-		pr_warning("Platform driver '%s' needs updating - please use "
-			"dev_pm_ops\n", drv->driver.name);
 
 	return driver_register(&drv->driver);
 }

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-08-10 21:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-07  8:34 [PATCH] PM: kill dev_pm_ops platform warning for now Magnus Damm
2009-08-08 13:16 ` Rafael J. Wysocki
     [not found] ` <200908081516.24018.rjw@sisk.pl>
2009-08-10 16:45   ` Greg KH
     [not found]   ` <20090810164542.GA28405@suse.de>
2009-08-10 20:49     ` Rafael J. Wysocki
     [not found]     ` <200908102249.12638.rjw@sisk.pl>
2009-08-10 21:08       ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox