PM / Driver Core: Kill dev_pm_ops platform warning for now
authorMagnus Damm <damm@igel.co.jp>
Mon, 10 Aug 2009 21:41:18 +0000 (23:41 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Mon, 10 Aug 2009 21:41:18 +0000 (23:41 +0200)
commit651b1f125c7e3806bbd635739d009433dc07372d
tree775534db63651213a6de14599094161ca8f40ec2
parent85dfd81dc57e8183a277ddd7a56aa65c96f3f487
PM / Driver Core: Kill dev_pm_ops platform warning for now

Commit 783ea7d4eeefe895f2731fe73ac951e94418927b
(Driver Core: Rework platform suspend/resume, print warning)
added a warning message printed for platform drivers that use the
legacy PM callbacks rather than struct dev_pm_ops.  Unfortunately,
this resulted in some confusion and made some people try to convert
drivers by replacing the old callbacks with struct dev_pm_ops in
automatic way, which generally is not a good idea.

Remove the platform device runtime dev_pm_ops warning for now,
because it's annoying to users and it's not really necessary right
now.

[rjw: Modified the changelog to be more informative.]

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
drivers/base/platform.c