Skip to content
Snippets Groups Projects
Commit 422b1a01 authored by Ben Warren's avatar Ben Warren Committed by Wolfgang Denk
Browse files

Fix Ethernet init() return codes


Change return values of init() functions in all Ethernet drivers to conform
to the following:

    >=0: Success
    <0:  Failure

All drivers going forward should return 0 on success.  Current drivers that
return 1 on success were left as-is to minimize changes.

Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
Acked-by: default avatarStefan Roese <sr@denx.de>
Acked-by: default avatarJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Acked-by: default avatarKim Phillips <kim.phillips@freescale.com>
Acked-by: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
Acked-By: default avatarTimur Tabi <timur@freescale.com>
parent d3a6532c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment