bfin_mac: fix error return code in bfin_mac_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Tue, 7 May 2013 02:23:38 +0000 (02:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 May 2013 20:13:30 +0000 (13:13 -0700)
commit2c006994520f3a4bb1d47a6afe5c58ff856497ce
tree26571dec3f79884a632d56771733b8e5e76cf490
parent155d940a78fd0761c2d73c5bd95a9dd287d58054
bfin_mac: fix error return code in bfin_mac_probe()

Fix to return a negative error code from the error handling
case instead of 0, as done 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/adi/bfin_mac.c