Skip to content

Commit 20e6c3c

Browse files
Yicong Yangchanwoochoi
authored andcommitted
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 e2c7703 ("units: add the HZ macros") Signed-off-by: Yicong Yang <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent 0cca7e8 commit 20e6c3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/devfreq/governor_passive.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,9 @@
1414
#include <linux/slab.h>
1515
#include <linux/device.h>
1616
#include <linux/devfreq.h>
17+
#include <linux/units.h>
1718
#include "governor.h"
1819

19-
#define HZ_PER_KHZ 1000
20-
2120
static struct devfreq_cpu_data *
2221
get_parent_cpu_data(struct devfreq_passive_data *p_data,
2322
struct cpufreq_policy *policy)

0 commit comments

Comments
 (0)