Re: [PATCH -next] sh-pfc: Use PTR_ERR_OR_ZERO() to simplify the code

2016-07-11 Thread Linus Walleij
On Wed, Jul 6, 2016 at 2:03 PM, wrote: > From: Wei Yongjun > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. > > Signed-off-by: Wei Yongjun Patch applied with Laurent's ACK. (Not expecting Geert to

Re: [PATCH -next] sh-pfc: Use PTR_ERR_OR_ZERO() to simplify the code

2016-07-06 Thread Laurent Pinchart
Hello Wei, Thank you for the patch. On Wednesday 06 Jul 2016 12:03:32 weiyj...@163.com wrote: > From: Wei Yongjun > > Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. > > Signed-off-by: Wei Yongjun Acked-by: Laurent

[PATCH -next] sh-pfc: Use PTR_ERR_OR_ZERO() to simplify the code

2016-07-06 Thread weiyj_lk
From: Wei Yongjun Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR. Signed-off-by: Wei Yongjun --- drivers/pinctrl/sh-pfc/pinctrl.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git