Skip to content

Commit

Permalink
cpuidle: remove vestage definition of cpuidle_state_usage.driver_data
Browse files Browse the repository at this point in the history
This field is no longer used.

Signed-off-by: Len Brown <len.brown@intel.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
  • Loading branch information
Len Brown committed Feb 11, 2013
1 parent 6018bf0 commit 57fa827
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions include/linux/cpuidle.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 57fa827

Please sign in to comment.