[PATCH 5.18 812/879] thermal: devfreq_cooling: use local ops instead of global ops