USB: core, wusbcore: use bus_to_hcd
authorGeliang Tang <geliangtang@163.com>
Wed, 23 Dec 2015 13:26:51 +0000 (21:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Jan 2016 05:00:33 +0000 (21:00 -0800)
commit6ae706aeaf42cd2fe6e541c72af6e2c0befe057c
tree8f46239ee249ebb38b5a27663cad8f0183ec572c
parent69ab55d7be6c3d69fa2e38f2a2bed4e91b9edf8d
USB: core, wusbcore: use bus_to_hcd

Use bus_to_hcd() instead of open-coding it.

Signed-off-by: Geliang Tang <geliangtang@163.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
drivers/usb/core/hub.c
drivers/usb/core/usb.c
drivers/usb/wusbcore/wusbhc.h