• Alan Stern's avatar
    [PATCH] USB: Add usb_release_address() and move usb_set_address() · ad12579b
    Alan Stern authored
    This patch adds usb_release_address() as a complement to
    usb_choose_address(), to centralize the work required when freeing an
    allocated device address.  It also moves the usb_set_address() routine
    from usb.c to hub.c -- which is the only place it is ever used -- and
    renames it to hub_set_address().
    ad12579b
usb.c 46.1 KB