Skip to contentSkip to conversation

thermal-drivers-devfreq_cooling-use-hz-macros.patch removed from -mm tree

merged [email protected] 1 participant 1 message Sep 9, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: thermal/drivers/devfreq_cooling: use HZ macros
has been removed from the -mm tree. Its filename was
thermal-drivers-devfreq_cooling-use-hz-macros.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Daniel Lezcano <[email protected]>
Subject: thermal/drivers/devfreq_cooling: use HZ macros

HZ unit conversion macros are available in units.h, use them and remove the duplicate definition.

The new macro uses a unsigned long type which is already the type in the current code via the 'freq' variable.

Cc Chanwoo Choi <[email protected]>
Cc Guenter Roeck <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Jonathan Cameron <[email protected]>
Cc Kyungmin Park <[email protected]>
Cc Lars-Peter Clausen <[email protected]>
Cc Lukasz Luba <[email protected]>
Cc Maxime Coquelin <[email protected]>
Cc Miquel Raynal <[email protected]>
Cc MyungJoo Ham <[email protected]>
Cc Peter Meerwald <[email protected]>
Cc "Rafael J. Wysocki" <[email protected]>
Cc Zhang Rui <[email protected]>

---

 drivers/thermal/devfreq_cooling.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/devfreq_cooling.c renamed from drivers/thermal/devfreq_cooling.c~thermal-drivers-devfreq_cooling-use-hz-macros +1 -1
@@ -18,10 +18,10 @@
 #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
 
 /**

_

Patches currently in -mm which might be from [email protected] are