drivers/thermal/cpufreq_cooling : Refactor thermal_power_cpu_get_power tracing