[PATCH 1/4] thermal: intel: hfi: Refactor enabling code into helper functions