Skip to content
Snippets Groups Projects
Commit cbb8f967 authored by Fabio Estevam's avatar Fabio Estevam Committed by Stefano Babic
Browse files

ot1200: Fix the error handling in board_eth_init()


We should not return 0 on failure, so return a negative error code
instead.

Also centralize the error path so that is easier to follow.

Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Signed-off-by: default avatarFabio Estevam <fabio.estevam@freescale.com>
parent 747472bb
No related branches found
No related tags found
No related merge requests found
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