Re: [PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-22 Thread Shawn Guo
On Tue, Aug 11, 2020 at 11:04:42AM +0800, Anson Huang wrote: > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. > > Signed-off-by: Anson Huang Applied, thanks.

Re: [PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Guido Günther
Hi, On Tue, Aug 11, 2020 at 11:04:42AM +0800, Anson Huang wrote: > dev_err_probe() can reduce code size, uniform error handling and record the > defer probe reason etc., use it to simplify the code. > > Signed-off-by: Anson Huang > --- > drivers/soc/imx/gpcv2.c | 15 +-- > 1 file cha

[PATCH] soc: imx: gpcv2: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Anson Huang
dev_err_probe() can reduce code size, uniform error handling and record the defer probe reason etc., use it to simplify the code. Signed-off-by: Anson Huang --- drivers/soc/imx/gpcv2.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/drivers/soc/imx/gpcv2.c b/