[PATCH 6.10 029/634] thermal: core: Fold two functions into their respective callers