From: Magnus Damm <magnus.damm@gmail.com>
To: linux-pm@lists.linux-foundation.org
Cc: gregkh@suse.de
Subject: [PATCH] PM: kill dev_pm_ops platform warning for now
Date: Fri, 07 Aug 2009 17:34:30 +0900 [thread overview]
Message-ID: <20090807083430.31389.98825.sendpatchset@rx1.opensource.se> (raw)
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);
}
next reply other threads:[~2009-08-07 8:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-07 8:34 Magnus Damm [this message]
2009-08-08 13:16 ` [PATCH] PM: kill dev_pm_ops platform warning for now 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090807083430.31389.98825.sendpatchset@rx1.opensource.se \
--to=magnus.damm@gmail.com \
--cc=gregkh@suse.de \
--cc=linux-pm@lists.linux-foundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox