Re: [PATCH] Input: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-10 Thread Dmitry Torokhov
On Wed, Nov 06, 2013 at 03:54:32PM +0800, Duan Jiong wrote: > This patch fixes coccinelle error regarding usage of IS_ERR and > PTR_ERR instead of PTR_ERR_OR_ZERO. > > Signed-off-by: Duan Jiong Applied, thank you. > --- > drivers/input/touchscreen/cyttsp4_spi.c | 5 + > 1 file changed, 1 i

[PATCH] Input: replace IS_ERR and PTR_ERR with PTR_ERR_OR_ZERO

2013-11-05 Thread Duan Jiong
This patch fixes coccinelle error regarding usage of IS_ERR and PTR_ERR instead of PTR_ERR_OR_ZERO. Signed-off-by: Duan Jiong --- drivers/input/touchscreen/cyttsp4_spi.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/input/touchscreen/cyttsp4_spi.c b/drivers/inp