diff options
author | Len Brown <len.brown@intel.com> | 2013-02-08 18:51:05 -0500 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2013-02-11 18:49:51 -0500 |
commit | 57fa8273a246d6abbbfdc995da6293b0040807d8 (patch) | |
tree | 25893716ef83d49ee70aae9f4f4ed0516cce79b7 | |
parent | 6018bf02381dbb2c77f65f923688ab8c8fdd6ed9 (diff) |
cpuidle: remove vestage definition of cpuidle_state_usage.driver_data
This field is no longer used.
Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
-rw-r--r-- | include/linux/cpuidle.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/linux/cpuidle.h b/include/linux/cpuidle.h index 24cd1037b6d6..480c14dc1ddd 100644 --- a/include/linux/cpuidle.h +++ b/include/linux/cpuidle.h | |||
@@ -32,8 +32,6 @@ struct cpuidle_driver; | |||
32 | ****************************/ | 32 | ****************************/ |
33 | 33 | ||
34 | struct cpuidle_state_usage { | 34 | struct cpuidle_state_usage { |
35 | void *driver_data; | ||
36 | |||
37 | unsigned long long disable; | 35 | unsigned long long disable; |
38 | unsigned long long usage; | 36 | unsigned long long usage; |
39 | unsigned long long time; /* in US */ | 37 | unsigned long long time; /* in US */ |
@@ -62,26 +60,6 @@ struct cpuidle_state { | |||
62 | 60 | ||
63 | #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) | 61 | #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000) |
64 | 62 | ||
65 | /** | ||
66 | * cpuidle_get_statedata - retrieves private driver state data | ||
67 | * @st_usage: the state usage statistics | ||
68 | */ | ||
69 | static inline void *cpuidle_get_statedata(struct cpuidle_state_usage *st_usage) | ||
70 | { | ||
71 | return st_usage->driver_data; | ||
72 | } | ||
73 | |||
74 | /** | ||
75 | * cpuidle_set_statedata - stores private driver state data | ||
76 | * @st_usage: the state usage statistics | ||
77 | * @data: the private data | ||
78 | */ | ||
79 | static inline void | ||
80 | cpuidle_set_statedata(struct cpuidle_state_usage *st_usage, void *data) | ||
81 | { | ||
82 | st_usage->driver_data = data; | ||
83 | } | ||
84 | |||
85 | struct cpuidle_device { | 63 | struct cpuidle_device { |
86 | unsigned int registered:1; | 64 | unsigned int registered:1; |
87 | unsigned int enabled:1; | 65 | unsigned int enabled:1; |