staging: usbip: userspace: usbip_bind.c: major rewrite of the implementation
authormatt mooney <mfm@muteddisk.com>
Mon, 20 Jun 2011 05:44:42 +0000 (22:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 03:11:34 +0000 (20:11 -0700)
commit06c465f5d2286749b3a90d29f67c2e5e7e1bd0f9
treed9b09ee2bdaf2390ddf26be2dd47fa61ef5e2b31
parent30f0554659d277e126c1194b8c1edf5dc6e56914
staging: usbip: userspace: usbip_bind.c: major rewrite of the implementation

Rewrite functions in terms of libsysfs, which eliminates a lot of
helper functions simplifying the file layout. Now, the two processes
taking place here, an unbind of the old driver and a bind of
usbip-host, are single functions and have been renamed along with the
controlling function. A check to see if the device is already bound to
usbip-host is now included.

Signed-off-by: matt mooney <mfm@muteddisk.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/usbip/userspace/src/usbip_bind.c