Re: [PATCH 1/1] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-08-17 Thread Alan Stern
On Mon, 17 Aug 2015, Peter Chen wrote: > The ehci platform device's drvdata is the pointer of struct usb_hcd > already, so we doesn't need to call bus_to_hcd conversion again. > > Cc: > Signed-off-by: Peter Chen > --- > drivers/usb/host/ehci-sysfs.c | 8 > 1 file changed, 4 insertions

[PATCH 1/1] usb: host: ehci-sys: delete useless bus_to_hcd conversion

2015-08-16 Thread Peter Chen
The ehci platform device's drvdata is the pointer of struct usb_hcd already, so we doesn't need to call bus_to_hcd conversion again. Cc: Signed-off-by: Peter Chen --- drivers/usb/host/ehci-sysfs.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/usb/host/ehci-