Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

PM / devfreq: passive: Use HZ_PER_KHZ macro in units.h

HZ macros has been centralized in units.h since [1]. Use it to avoid
duplicated definition.

[1] commit e2c77032fcbe ("units: add the HZ macros")

Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>

authored by

Yicong Yang and committed by
Chanwoo Choi
20e6c3cc 0cca7e8d

+1 -2
+1 -2
drivers/devfreq/governor_passive.c
··· 14 14 #include <linux/slab.h> 15 15 #include <linux/device.h> 16 16 #include <linux/devfreq.h> 17 + #include <linux/units.h> 17 18 #include "governor.h" 18 - 19 - #define HZ_PER_KHZ 1000 20 19 21 20 static struct devfreq_cpu_data * 22 21 get_parent_cpu_data(struct devfreq_passive_data *p_data,