Few code simplifications with scope/cleanup.h. One of thermal_of.c patches depends on my earlier fixes: https://lore.kernel.org/all/20240814195823.437597-1-krzysztof.kozlowski@xxxxxxxxxx/ Best regards, Krzysztof --- Krzysztof Kozlowski (7): thermal: of: Use scoped device node handling to simplify of_find_trip_id() thermal: of: Use scoped device node handling to simplify thermal_of_trips_init() thermal: of: Use scoped device node handling to simplify of_thermal_zone_find() thermal: of: Simplify thermal_of_for_each_cooling_maps() with scoped for each OF child loop thermal: qcom-spmi-adc-tm5: Simplify with scoped for each OF child loop thermal: tegra: Simplify with scoped for each OF child loop thermal: sun8i: Use scoped device node handling to simplify error paths drivers/thermal/qcom/qcom-spmi-adc-tm5.c | 7 ++-- drivers/thermal/sun8i_thermal.c | 11 +++--- drivers/thermal/tegra/soctherm.c | 5 ++- drivers/thermal/thermal_of.c | 60 ++++++++++---------------------- 4 files changed, 28 insertions(+), 55 deletions(-) --- base-commit: aef749dad7ff4c301e91b21fadf30776c1495fa8 change-id: 20240814-b4-cleanup-h-of-node-put-thermal-2268440cc6f7 Best regards, -- Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>