thermal/drivers/devfreq_cooling: use HZ macros
[linux-2.6-microblaze.git] / drivers / thermal / devfreq_cooling.c
index 3a788ac..4310cb3 100644 (file)
 #include <linux/pm_opp.h>
 #include <linux/pm_qos.h>
 #include <linux/thermal.h>
+#include <linux/units.h>
 
 #include <trace/events/thermal.h>
 
-#define HZ_PER_KHZ             1000
 #define SCALE_ERROR_MITIGATION 100
 
 /**
@@ -458,7 +458,7 @@ struct thermal_cooling_device *devfreq_cooling_register(struct devfreq *df)
 EXPORT_SYMBOL_GPL(devfreq_cooling_register);
 
 /**
- * devfreq_cooling_em_register_power() - Register devfreq cooling device with
+ * devfreq_cooling_em_register() - Register devfreq cooling device with
  *             power information and automatically register Energy Model (EM)
  * @df:                Pointer to devfreq device.
  * @dfc_power: Pointer to devfreq_cooling_power.