lpc_eth: fix error return code in lpc_eth_drv_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Wed, 20 Mar 2013 02:21:48 +0000 (02:21 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 20 Mar 2013 16:19:15 +0000 (12:19 -0400)
commitfa90b077d72b4ea92706e86fdff7b5dca294caa3
treeb6fc2f18c26397f34e0044a977a34c2a524399aa
parentfc0c0900408e05758a0df17c1924ca837fafca5e
lpc_eth: fix error return code in lpc_eth_drv_probe()

Fix to return a negative error code from the error handling
case instead of 0, as returned elsewhere in this function.

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/nxp/lpc_eth.c