staging: usbip: userspace: usbip_list.c: refactor local USB device listing
authormatt mooney <mfm@muteddisk.com>
Fri, 27 May 2011 08:44:13 +0000 (01:44 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 7 Jun 2011 21:26:17 +0000 (14:26 -0700)
commit74ce259c670a6d468802c725570a16b0483a2ae8
tree89de88b2160103b18ae654b1506cf8a354ac9267
parent3e4fda9f956d3e8f14e8cabc6dd4f1caa95981e4
staging: usbip: userspace: usbip_list.c: refactor local USB device listing

Combines the different list display types for local devices into one
function. Removes dependence on utils.h, which only exists as a way to
circumvent libsysfs and will be removed. The devices are now sorted as
an added benefit of this refactor.

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