commit | 0c7a2b72746a96f999fd2728520d03d94879be69 | [log] [tgz] |
---|---|---|
author | CHENG Renquan <rqcheng@smu.edu.sg> | Sun Nov 22 01:28:52 2009 +0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 11 11:55:26 2009 -0800 |
tree | 30c4d09a7d142c46177ced1c8600a7d7f6bcde25 | |
parent | 5791e10341f8bf284bd16eb0949cbeed91c9dac8 [diff] |
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: CHENG Renquan <rqcheng@smu.edu.sg> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>