usb: host: ehci-sys: delete useless bus_to_hcd conversion
authorPeter Chen <peter.chen@freescale.com>
Mon, 17 Aug 2015 02:23:03 +0000 (10:23 +0800)
committerDanny Wood <danwood76@gmail.com>
Tue, 29 Jan 2019 13:09:57 +0000 (13:09 +0000)
commit16481d2615fa62b969ad267219ccd949209edff9
treecff4c4bba4bfb091dc2bf05ca952119d26340e01
parentbc1749ab5e4bd4c2ced4f6725f14ae26717fd20f
usb: host: ehci-sys: delete useless bus_to_hcd conversion

commit 0521cfd06e1ebcd575e7ae36aab068b38df23850 upstream.

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.

Signed-off-by: Peter Chen <peter.chen@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-sysfs.c