]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Sep 2015 17:10:53 +0000 (10:10 -0700)
commite611a710330e4c255b17500c9824fbaacb4d1e4a
tree6574c3ca3087dc97c04ea07f32f714c277f5136f
parentc25ec85099c45c364181284c4eb4936aa7374cc2
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