Re: [PATCH] PM: Deprecate suspend/resume in device_driver

From: Rafael J. Wysocki
Date: Thu Jun 14 2012 - 15:10:25 EST


On Thursday, June 14, 2012, Greg KH wrote:
> On Thu, Jun 14, 2012 at 02:42:17PM +0800, ning.n.jiang@xxxxxxxxx wrote:
> > From: Ning Jiang <ning.n.jiang@xxxxxxxxx>
> >
> > 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.

Please disregard my previous message, I sent it before reading this one.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/