Re: [PATCH] USB: host: Use usb_hcd_platform_shutdown() whereverpossible
From: Alan Stern
Date: Tue Jul 09 2013 - 10:16:45 EST
On Tue, 9 Jul 2013, Roger Quadros wrote:
> Most HCD drivers are doing the same thing in their ".shutdown" callback
> so it makes sense to use the generic usb_hcd_platform_shutdown()
> handler there.
>
> Signed-off-by: Roger Quadros <rogerq@xxxxxx>
> ---
> drivers/usb/host/ehci-grlib.c | 11 +----------
> drivers/usb/host/ehci-mxc.c | 10 +---------
> drivers/usb/host/ehci-omap.c | 10 +---------
> drivers/usb/host/ehci-ppc-of.c | 11 +----------
> drivers/usb/host/ehci-s5p.c | 10 +---------
> drivers/usb/host/ehci-tegra.c | 10 +---------
> drivers/usb/host/ehci-xilinx-of.c | 17 +----------------
> drivers/usb/host/ohci-omap3.c | 10 +---------
> 8 files changed, 8 insertions(+), 81 deletions(-)
This all looks fine. But unless my kernel tree is out of date, you
missed ohci-ppc-of.c.
Alan Stern
--
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/