]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
net: smsc95xx: Correct the error numbers
authorSimon Glass <sjg@chromium.org>
Wed, 8 Jul 2015 02:53:40 +0000 (20:53 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 06:17:18 +0000 (08:17 +0200)
commit56373cfab3f3a660dd7bc714d88a5b2305f8a644
tree95b4f39ca4e2aa4eafa77291df24deb4c8810b57
parenta409d75c4f3e0132eef2e1983651b4fd48d6d5cc
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