devfreq-use-hz-macros.patch removed from -mm tree
The patch titled
Subject: devfreq: use HZ macros
has been removed from the -mm tree. Its filename was
devfreq-use-hz-macros.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Daniel Lezcano <[email protected]>
Subject: devfreq: use HZ macros
HZ unit conversion macros are available in units.h, use them and remove the duplicate definition.
The new macro has an unsigned long type.
All the code is dealing with unsigned long and the code using the macro is doing a coercitive cast to unsigned long.
Signed-off-by Daniel Lezcano <[email protected]>
Reviewed-by Christian Eggers <[email protected]>
Reviewed-by Andy Shevchenko <[email protected]>
Acked-by 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]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/devfreq/devfreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/devfreq/devfreq.c renamed from drivers/devfreq/devfreq.c~devfreq-use-hz-macros +1 -1
@@ -27,6 +27,7 @@#include <linux/hrtimer.h> #include <linux/of.h> #include <linux/pm_qos.h> +#include <linux/units.h> #include "governor.h" #define CREATE_TRACE_POINTS
@@ -34,7 +35,6 @@#define IS_SUPPORTED_FLAG (f, name) ((f & DEVFREQ_GOV_FLAG_##name) ? true : false)#define IS_SUPPORTED_ATTR (f, name) ((f & DEVFREQ_GOV_ATTR_##name) ? true : false) -#define HZ_PER_KHZ 1000static struct class *devfreq_class;static struct dentry *devfreq_debugfs;
_
Patches currently in -mm which might be from [email protected] are