[PATCH 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-10-16 Thread Amit Kucheria
Move platform_set_drvdata up to avoid an extra 'if (ret)' check after the call to tsens_register. Signed-off-by: Amit Kucheria Reviewed-by: Stephen Boyd Reviewed-by: Daniel Lezcano --- drivers/thermal/qcom/tsens.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/driv

Re: [PATCH 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-08-19 Thread Daniel Lezcano
On 26/07/2019 00:18, Amit Kucheria wrote: > Move platform_set_drvdata up to avoid an extra 'if (ret)' check after > the call to tsens_register. > > Signed-off-by: Amit Kucheria Reviewed-by: Daniel Lezcano [ ... ] -- Linaro.org │ Open source software for ARM SoCs F

Re: [PATCH 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-08-16 Thread Stephen Boyd
Quoting Amit Kucheria (2019-07-25 15:18:37) > Move platform_set_drvdata up to avoid an extra 'if (ret)' check after > the call to tsens_register. > > Signed-off-by: Amit Kucheria > --- Reviewed-by: Stephen Boyd

[PATCH 02/15] drivers: thermal: tsens: Simplify code flow in tsens_probe

2019-07-25 Thread Amit Kucheria
Move platform_set_drvdata up to avoid an extra 'if (ret)' check after the call to tsens_register. Signed-off-by: Amit Kucheria --- drivers/thermal/qcom/tsens.c | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/thermal/qcom/tsens.c b/drivers/thermal/qcom/tsens.c