Wei Yongjun 30e3488cbf ARM: OMAP2+: smsc911x: fix return value check in gpmc_smsc911x_init()
In case of error, the function platform_device_register_resndata()
returns ERR_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>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2013-11-14 10:40:36 -08:00
..
2013-09-25 14:07:50 +02:00
2013-10-09 12:36:13 +02:00
2013-09-25 14:07:50 +02:00
2013-09-25 14:07:50 +02:00
2013-09-25 14:07:50 +02:00
2013-09-25 14:07:50 +02:00
2013-10-09 12:36:13 +02:00
2013-11-01 08:24:41 +01:00