Re: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-11-11 Thread Thierry Reding
On Tue, Aug 11, 2020 at 02:24:30PM +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 > --- > changes since V1: > - remove redundant return value print

[RESEND PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-10-19 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 Acked-by: Uwe Kleine-König --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx-tpm.c | 10 +++

RE: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-09-16 Thread Anson Huang
Gentle ping... > Subject: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error > handling > > 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

Re: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-08-11 Thread Uwe Kleine-König
On Tue, Aug 11, 2020 at 02:24:30PM +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 Acked-by: Uwe Kleine-König Thanks Uwe -- Pengutronix e.K.

Re: [PATCH V2 1/3] pwm: imx-tpm: Use dev_err_probe() to simplify error handling

2020-08-10 Thread Lee Jones
On Tue, 11 Aug 2020, 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 > --- > changes since V1: > - remove redundant return value print. > --- > drivers/p

[PATCH V2 1/3] pwm: imx-tpm: 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 --- changes since V1: - remove redundant return value print. --- drivers/pwm/pwm-imx-tpm.c | 10 +++--- 1 file changed, 3 inser