summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_hub.c
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-05 15:39:29 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-05 15:39:29 +0000
commit1dad28b11e3e46254de8aac8eb786a6627348e42 (patch)
treec81a83c35fcae7c3e83bf9803f42242f38014c81 /sys/dev/usb/usb_hub.c
parent9a5ee5e7f1215ee4dc0f22592f0b6c02700d0f35 (diff)
downloadFreeBSD-src-1dad28b11e3e46254de8aac8eb786a6627348e42.zip
FreeBSD-src-1dad28b11e3e46254de8aac8eb786a6627348e42.tar.gz
Remove USB shutdown methods from device drivers as its the host controllers
responsibility to detach the bus. PR: usb/133896 Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usb_hub.c')
-rw-r--r--sys/dev/usb/usb_hub.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index 6961ff4..f92072b 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -132,7 +132,6 @@ static device_method_t uhub_methods[] = {
DEVMETHOD(device_suspend, uhub_suspend),
DEVMETHOD(device_resume, uhub_resume),
- DEVMETHOD(device_shutdown, bus_generic_shutdown),
DEVMETHOD(bus_child_location_str, uhub_child_location_string),
DEVMETHOD(bus_child_pnpinfo_str, uhub_child_pnpinfo_string),
OpenPOWER on IntegriCloud