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

2012-10-08 Thread Tony Lindgren
* Wei Yongjun weiyj...@gmail.com [120920 23:31]: From: Wei Yongjun yongjun_...@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.

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

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@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(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch)