commit | 9514bfe5d92000a9fd6f3c44aa775819b5d78aaf | [log] [tgz] |
---|---|---|
author | Peter Korsgaard <jacmet@sunsite.dk> | Tue Jul 03 00:46:42 2007 +0200 |
committer | Jeff Garzik <jeff@garzik.org> | Tue Jul 10 12:41:18 2007 -0400 |
tree | 5fed048ae23f5f5501230637130271b954c61e01 | |
parent | 4638aef1e2d8d938e52cd49f6492e9d414b38380 [diff] |
Cleanup usbnet_probe() return value handling usbnet_probe() handles a positive return value from the driver bind() function as success, but will later only setup the status handler if the return value was zero, leading to confusion. Patch adjusts this to accept positive values as success in both checks. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Jeff Garzik <jeff@garzik.org>