net/at91_ether: fix error return code in at91ether_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Thu, 11 Apr 2013 16:42:40 +0000 (16:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 12 Apr 2013 22:23:33 +0000 (18:23 -0400)
commitbbeae58c291a3dedc0b7ae9ffbc8763ed63fcd7f
tree02be1c0ec27845002f0e8e4c14bcc55a5e7ea14c
parent7356a764cd76e155014c226ccb157219be918891
net/at91_ether: fix error return code in at91ether_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/cadence/at91_ether.c