[PATCH 00/12] thermal/drivers: simplify probe()

From: Krzysztof Kozlowski
Date: Tue Jul 09 2024 - 09:00:04 EST


Simplify error handling in probe() and also fix one possible issue in
remove().

Best regards,
Krzysztof

---
Krzysztof Kozlowski (12):
thermal/drivers/broadcom: fix race between removal and clock disable
thermal/drivers/broadcom: simplify probe() with local dev variable
thermal/drivers/broadcom: simplify with dev_err_probe()
thermal/drivers/exynos: simplify probe() with local dev variable
thermal/drivers/exynos: simplify with dev_err_probe()
thermal/drivers/hisi: simplify with dev_err_probe()
thermal/drivers/imx: simplify probe() with local dev variable
thermal/drivers/imx: simplify with dev_err_probe()
thermal/drivers/qcom-spmi-adc-tm5: simplify with dev_err_probe()
thermal/drivers/qcom-tsens: simplify with dev_err_probe()
thermal/drivers/generic-adc: simplify probe() with local dev variable
thermal/drivers/generic-adc: simplify with dev_err_probe()

drivers/thermal/broadcom/bcm2835_thermal.c | 49 +++++++--------------------
drivers/thermal/hisi_thermal.c | 9 ++---
drivers/thermal/imx_thermal.c | 42 +++++++++++------------
drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 9 ++---
drivers/thermal/qcom/tsens.c | 8 ++---
drivers/thermal/samsung/exynos_tmu.c | 54 +++++++++++++-----------------
drivers/thermal/thermal-generic-adc.c | 27 +++++++--------
7 files changed, 76 insertions(+), 122 deletions(-)
---
base-commit: 2e0171396caa83c9d908ba2676ba59bce333b550
change-id: 20240709-thermal-probe-a747013ed28d

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>