net: mvpp2: Fix error return code in mvpp2_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Sun, 20 Jul 2014 14:02:43 +0000 (22:02 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Jul 2014 05:26:58 +0000 (22:26 -0700)
Fix to return -ENODEV from the no ports enabled error handling
case instead of 0.

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

Simple merge