projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88dc438
)
cpufreq: rename cpufreq_real_policy as cpufreq_user_policy
author
Viresh Kumar
<
[email protected]
>
Mon, 3 Aug 2015 03:06:19 +0000
(08:36 +0530)
committer
Rafael J. Wysocki
<
[email protected]
>
Tue, 1 Sep 2015 13:50:39 +0000
(15:50 +0200)
Its all about caching min/max freq requested by userspace, and
the name 'cpufreq_real_policy' doesn't fit that well. Rename it to
cpufreq_user_policy.
Signed-off-by: Viresh Kumar <
[email protected]
>
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
include/linux/cpufreq.h
patch
|
blob
|
history
diff --git
a/include/linux/cpufreq.h
b/include/linux/cpufreq.h
index 54dbbff0a55ee4cf137306c6688e68dd40c2cd64..6ff6a4d95eeaaf852a29fb57691c4f4f36d6cdeb 100644
(file)
--- a/
include/linux/cpufreq.h
+++ b/
include/linux/cpufreq.h
@@
-51,7
+51,7
@@
struct cpufreq_cpuinfo {
unsigned int transition_latency;
};
-struct cpufreq_
real
_policy {
+struct cpufreq_
user
_policy {
unsigned int min; /* in kHz */
unsigned int max; /* in kHz */
};
@@
-86,7
+86,7
@@
struct cpufreq_policy {
struct work_struct update; /* if update_policy() needs to be
* called, but you're in IRQ context */
- struct cpufreq_
real_policy
user_policy;
+ struct cpufreq_
user_policy
user_policy;
struct cpufreq_frequency_table *freq_table;
struct list_head policy_list;