[PATCH] ARM: OMAP: hsmmc: fix return value check in omap_hsmmc_init_one()

Tony Lindgren tony at atomide.com
Mon Oct 8 17:34:44 EDT 2012


* Wei Yongjun <weiyj.lk at gmail.com> [120920 23:31]:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> In case of error, the function omap_device_alloc() returns ERR_PTR()
> not NULL pointer. The NULL test in the return value check should
> be replaced with IS_ERR().

Thanks applying into omap fixes.

Regards,

Tony



More information about the linux-arm-kernel mailing list