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-11-11 16:42:43 +09:00
2013-11-11 17:34:56 +09:00
2013-09-17 12:34:36 +02:00
2013-11-11 17:34:56 +09:00
2013-11-11 17:05:37 +09:00
2013-11-11 17:05:37 +09:00
2013-11-11 16:42:43 +09:00
2013-11-11 17:34:56 +09:00
2013-09-06 13:21:16 -07:00
2013-11-12 14:55:17 +09:00
2013-11-11 17:34:56 +09:00
2013-11-11 17:34:56 +09:00
2013-09-09 12:05:37 -04:00
2013-11-11 16:42:43 +09:00