commit | 49ea64a4f9ce7db35ce7e4977b8036675f0a73fc | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Fri Sep 11 13:32:50 2015 -0300 |
committer | Stefano Babic <sbabic@denx.de> | Sun Sep 13 11:06:08 2015 +0200 |
tree | 76e8e50907fccc9e6c6aea7dbfb7ffea79496dca | |
parent | fbbab5a6a1c747886edf048b0cbac368e8b33a57 [diff] |
udoo: 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. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>