Skip to content
Commit 0c7a2b72 authored by CHENG Renquan's avatar CHENG Renquan Committed by Greg Kroah-Hartman
Browse files

USB: add remove_id sysfs attr for usb drivers



Accroding commit 0994375e, which is adding remove_id sysfs attr
for pci drivers, for management tools dynamically bind/unbind
a pci/usb devices to a specified drivers; with this patch,
the management tools can be simplied.

And the original code didn't handle the failure of
usb_create_newid_file, fixed in this patch.

Signed-off-by: default avatarCHENG Renquan <rqcheng@smu.edu.sg>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 5791e103
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment