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: NSimon Glass <sjg@chromium.org>
Showing
想要评论请 注册 或 登录
Instead of returning -1 on error, we should use a proper error number. Fix
the code to conform to this.
Signed-off-by: NSimon Glass <sjg@chromium.org>