Re: [PATCH] USB: Move runtime PM callbacks to usb_device_pm_ops

From: Greg KH
Date: Wed Feb 16 2011 - 19:05:17 EST


On Thu, Feb 17, 2011 at 12:58:56AM +0100, Rafael J. Wysocki wrote:
> From: Rafael J. Wysocki <rjw@xxxxxxx>
>
> USB defines usb_device_type pointing to usb_device_pm_ops that
> provides system-wide PM callbacks only and usb_bus_type pointing to
> usb_bus_pm_ops that provides runtime PM callbacks only. However,
> the USB runtime PM callbacks may be defined in usb_device_pm_ops
> which makes it possible to drop usb_bus_pm_ops and will allow us
> to consolidate the handling of subsystems by the PM core code.
>
> Signed-off-by: Rafael J. Wysocki <rjw@xxxxxxx>
> ---
>
> Hi Greg,
>
> Would you mind if I merged the following patch? It is requisite for
> https://patchwork.kernel.org/patch/552411/ which I think is the right thing
> to do and people seem to generally agree with me.
>
> Alan has seen it and says it is fine.

Looks great to me, feel free to add:
Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
to it and take it through your tree.

thanks,

greg k-h
--
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/