From: Magnus Damm <damm@xxxxxxxxxx> 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@xxxxxxxxxx> --- 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); } _______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm