Bryan Wu 1a448db77b 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>
2009-01-28 19:57:31 +01:00
..
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2008-10-18 21:54:03 +02:00
2008-08-06 14:05:38 +02:00
2003-06-27 21:31:46 +00:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-09-10 22:48:06 +02:00
2008-10-18 21:54:03 +02:00
2008-12-16 00:47:10 +01:00
2008-10-18 21:54:03 +02:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2009-01-28 08:49:52 +01:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2008-10-18 21:54:03 +02:00
2006-08-31 16:46:53 +02:00