From: Greg KH <gregkh@linuxfoundation.org>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: ning.n.jiang@gmail.com, linux-kernel@vger.kernel.org,
Linux PM mailing list <linux-pm@vger.kernel.org>
Subject: Re: [PATCH] PM: Deprecate suspend/resume in device_driver
Date: Thu, 14 Jun 2012 12:17:43 -0700 [thread overview]
Message-ID: <20120614191743.GA2721@kroah.com> (raw)
In-Reply-To: <201206142115.47601.rjw@sisk.pl>
On Thu, Jun 14, 2012 at 09:15:47PM +0200, Rafael J. Wysocki wrote:
> On Thursday, June 14, 2012, Greg KH wrote:
> > On Thu, Jun 14, 2012 at 02:42:17PM +0800, ning.n.jiang@gmail.com wrote:
> > > From: Ning Jiang <ning.n.jiang@gmail.com>
> > >
> > > Make suspend/resume callbacks in device_driver deprecated and scheduled
> > > for removal since they are not used in PM core anymore.
> > >
> > > Legacy drivers who still use them need to move suspend/resume callbacks
> > > to dev_pm_ops.
> >
> > How many complier warnings does this patch produce?
> >
> > Please fix them before submitting this patch. The way kernel
> > development is is that you fix the problems up with the api, you don't
> > just mark them and hope someone else will do it for you.
> >
> > Sorry, I can't take this.
>
> Right.
To provide a bit more "constructive" review, the proper thing is to fix
up the whole kernel to never set these fields, and then just delete
them. Ning, feel free to start working on that task, it's a good one to
accomplish and should be pretty well defined.
thanks,
greg k-h
next prev parent reply other threads:[~2012-06-14 19:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-14 6:42 ning.n.jiang
2012-06-14 15:37 ` Greg KH
2012-06-14 19:15 ` Rafael J. Wysocki
2012-06-14 19:17 ` Greg KH [this message]
2012-06-15 15:54 ` Ning Jiang
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=20120614191743.GA2721@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=ning.n.jiang@gmail.com \
--cc=rjw@sisk.pl \
/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
all inboxes | Powered by JetHome®