Re: [PATCH 1/2] thermal: imx: Use dev_err_probe() to simplify error handling

2020-08-24 Thread Daniel Lezcano
On 11/08/2020 04:58, 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 -- Linaro.org │ Open source software for

[PATCH 1/2] thermal: imx: 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/thermal/imx_thermal.c | 22 ++ 1 file changed, 6 insertions(+), 16 deletions(-) diff --git