Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 351084
b: refs/heads/master
c: 57fa827
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Feb 11, 2013
1 parent 0dc1eab commit 794fc01
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6018bf02381dbb2c77f65f923688ab8c8fdd6ed9
refs/heads/master: 57fa8273a246d6abbbfdc995da6293b0040807d8
22 changes: 0 additions & 22 deletions trunk/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 794fc01

Please sign in to comment.