.get_cur_state = cpufreq_get_cur_state,
.set_cur_state = cpufreq_set_cur_state,
.get_cooling_level = exynos_cpufreq_cooling_get_level,
+ .set_cur_temp = cpufreq_set_cur_temp,
};
static struct thermal_cooling_device_ops cpufreq_power_cooling_ops = {
.get_requested_power = cpufreq_get_requested_power,
.state2power = cpufreq_state2power,
.power2state = cpufreq_power2state,
+ .set_cur_temp = cpufreq_set_cur_temp,
};
/* Notifier for cpufreq policy change */
}
cpufreq_cdev->id = ret;
- if (cpufreq_cdev->id == 0)
- cpufreq_cooling_ops.set_cur_temp = cpufreq_set_cur_temp;
-
snprintf(dev_name, sizeof(dev_name), "thermal-cpufreq-%d",
cpufreq_cdev->id);