]> git.hungrycats.org Git - linux/commit
[PATCH] USB: remove usb_interface.driver field
authorDavid Brownell <david-b@pacbell.net>
Wed, 31 Mar 2004 05:35:04 +0000 (21:35 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 31 Mar 2004 05:35:04 +0000 (21:35 -0800)
commite0d47b758e7645993c24c9ebe967c4735b9f0741
tree314d981bbbad4c304b5470704ff5e46cb25446b7
parent33c65459ab38b70b9dde90ed13494ab7b0f253fe
[PATCH] USB: remove usb_interface.driver field

Remove usb_interface.driver, and along with it the "half bound" state
previously associated with drivers binding with claim() instead of probe().
This changes usb_driver_claim_interface() semantics slightly: drivers must
now be prepared to accept disconnect() callbacks.

Fixes more locking bugs, and a claim() oops that snuck in with a
recent patch.
drivers/usb/core/devices.c
drivers/usb/core/devio.c
drivers/usb/core/message.c
drivers/usb/core/usb.c
include/linux/usb.h