[PATCH 5.17 710/772] thermal: devfreq_cooling: use local ops instead of global ops