commit | e21f0ecda60b58b376c83c8f79a3468413b09cd1 | [log] [tgz] |
---|---|---|
author | Bryan Wu <bryan.wu@analog.com> | Sun Jan 18 23:04:27 2009 -0500 |
committer | Remy Bohmer <linux@bohmer.net> | Wed Jan 28 19:57:31 2009 +0100 |
tree | 6bc5d9ff55800b66de1a36005dc5f6a03d2f3601 | |
parent | 6a6d9d17f5c6c368c69cb5c0807c3320a6cd86c5 [diff] |
usb_scan_devices: fix output with no devices We should check the return of usb_new_device() so that if no USB device is found, we print out the right message rather than always saying "new usb device found". Signed-off-by: Bryan Wu <bryan.wu@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Remy Bohmer <linux@bohmer.net>