Re: [PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-10-12 Thread Sekhar Nori
Hi Wei, On 9/21/2012 11:42 AM, Wei Yongjun wrote: > From: Wei Yongjun > > In case of error, the function clk_get() returns ERR_PTR() not > NULL pointer. The NULL test in the error handling should be > replaced with IS_ERR(). > > dpatch engine is used to auto generated this patch. >

Re: [PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-10-12 Thread Sekhar Nori
Hi Wei, On 9/21/2012 11:42 AM, Wei Yongjun wrote: From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated

[PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: Wei Yongjun ---

[PATCH] davinci: fix return value check by using IS_ERR in tnetv107x_devices_init()

2012-09-21 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn In case of error, the function clk_get() returns ERR_PTR() not NULL pointer. The NULL test in the error handling should be replaced with IS_ERR(). dpatch engine is used to auto generated this patch. (https://github.com/weiyj/dpatch) Signed-off-by: