staging: usbip: userspace: usbip_unbind.c: implement using libsysfs
authormatt mooney <mfm@muteddisk.com>
Mon, 20 Jun 2011 05:44:43 +0000 (22:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 6 Jul 2011 03:11:34 +0000 (20:11 -0700)
commit9cda5704115d1611b408d8bd0e6e9dfd8a3617cb
tree0ef1c6fb275b38a52fd22600ae7eba1d263d8c55
parent06c465f5d2286749b3a90d29f67c2e5e7e1bd0f9
staging: usbip: userspace: usbip_unbind.c: implement using libsysfs

Modify unbind to use libsysfs, and include a check to verify that the
device is actually using usbip-host before proceeding. The output
messages have been changed to be consistent with `usbip bind'.

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