]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
cpuidle: remove vestage definition of cpuidle_state_usage.driver_data
authorLen Brown <len.brown@intel.com>
Fri, 8 Feb 2013 23:51:05 +0000 (18:51 -0500)
committerLen Brown <len.brown@intel.com>
Mon, 11 Feb 2013 23:49:51 +0000 (18:49 -0500)
This field is no longer used.

Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
include/linux/cpuidle.h

index 24cd1037b6d6f487d93ce79dfe0844887f949b9f..480c14dc1ddd5936d48820739ae6847c6e0c52bb 100644 (file)
@@ -32,8 +32,6 @@ struct cpuidle_driver;
  ****************************/
 
 struct cpuidle_state_usage {
-       void            *driver_data;
-
        unsigned long long      disable;
        unsigned long long      usage;
        unsigned long long      time; /* in US */
@@ -62,26 +60,6 @@ struct cpuidle_state {
 
 #define CPUIDLE_DRIVER_FLAGS_MASK (0xFFFF0000)
 
-/**
- * cpuidle_get_statedata - retrieves private driver state data
- * @st_usage: the state usage statistics
- */
-static inline void *cpuidle_get_statedata(struct cpuidle_state_usage *st_usage)
-{
-       return st_usage->driver_data;
-}
-
-/**
- * cpuidle_set_statedata - stores private driver state data
- * @st_usage: the state usage statistics
- * @data: the private data
- */
-static inline void
-cpuidle_set_statedata(struct cpuidle_state_usage *st_usage, void *data)
-{
-       st_usage->driver_data = data;
-}
-
 struct cpuidle_device {
        unsigned int            registered:1;
        unsigned int            enabled:1;