Wei Yongjun dde8e3ee6b powerpc/mv643xx_eth: fix return check in mv64x60_eth_register_shared_pdev()
In case of error, the function platform_device_register_simple() returns
RR_PTR() and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Scott Wood <scottwood@freescale.com>
2013-10-28 21:11:23 -05:00
..
2012-01-03 22:54:07 -05:00
2013-02-12 11:05:21 -06:00
2013-02-12 11:05:18 -06:00
2013-09-12 11:29:26 -07:00
2013-02-12 11:05:20 -06:00
2011-11-08 14:51:46 +11:00