]> git.sur5r.net Git - u-boot/commit
net: smsc95xx: Correct the error numbers
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2015 02:53:40 +0000 (20:53 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 6 Aug 2015 13:40:45 +0000 (07:40 -0600)
commit25a9e98038ca6e0335f760f58ef1fd418122ea13
tree91701729bc2144d32e6d64201f7bf7d0f565aeb7
parentd62a1dc6bcfe9d210081d70669b39b4c77a07430
net: smsc95xx: Correct the error numbers

Instead of returning -1 on error, we should use a proper error number. Fix
the code to conform to this.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/usb/eth/smsc95xx.c