Felipe: The following patches concern ->disconnect() callbacks made when a gadget's D+ pullup is turned off. Currently we don't have a fixed rule for such callbacks. The first patch makes usb_gadget_disconnect() issue the callback automatically, so that it will always happen and UDC drivers don't need to worry about it. The second patch removes a callback from net2280's pullup routine, because it is now unneeded. Other UDC drivers may also need to have their callbacks removed; the only one I have checked is dummy-hcd (which is okay). Alan Stern