diff options
Diffstat (limited to 'drivers/cpuidle/driver.c')
-rw-r--r-- | drivers/cpuidle/driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 6e11701f0fca..ced1df6844eb 100644 --- a/drivers/cpuidle/driver.c +++ b/drivers/cpuidle/driver.c | |||
@@ -56,7 +56,7 @@ static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) | |||
56 | } | 56 | } |
57 | 57 | ||
58 | /** | 58 | /** |
59 | * __cpuidle_set_driver - set per CPU driver variables the the given driver. | 59 | * __cpuidle_set_driver - set per CPU driver variables for the given driver. |
60 | * @drv: a valid pointer to a struct cpuidle_driver | 60 | * @drv: a valid pointer to a struct cpuidle_driver |
61 | * | 61 | * |
62 | * For each CPU in the driver's cpumask, unset the registered driver per CPU | 62 | * For each CPU in the driver's cpumask, unset the registered driver per CPU |
@@ -132,7 +132,7 @@ static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv) | |||
132 | * cpuidle_setup_broadcast_timer - enable/disable the broadcast timer | 132 | * cpuidle_setup_broadcast_timer - enable/disable the broadcast timer |
133 | * @arg: a void pointer used to match the SMP cross call API | 133 | * @arg: a void pointer used to match the SMP cross call API |
134 | * | 134 | * |
135 | * @arg is used as a value of type 'long' with on of the two values: | 135 | * @arg is used as a value of type 'long' with one of the two values: |
136 | * - CLOCK_EVT_NOTIFY_BROADCAST_ON | 136 | * - CLOCK_EVT_NOTIFY_BROADCAST_ON |
137 | * - CLOCK_EVT_NOTIFY_BROADCAST_OFF | 137 | * - CLOCK_EVT_NOTIFY_BROADCAST_OFF |
138 | * | 138 | * |
@@ -169,7 +169,7 @@ static int __cpuidle_driver_init(struct cpuidle_driver *drv) | |||
169 | /* | 169 | /* |
170 | * Look for the timer stop flag in the different states, so that we know | 170 | * Look for the timer stop flag in the different states, so that we know |
171 | * if the broadcast timer has to be set up. The loop is in the reverse | 171 | * if the broadcast timer has to be set up. The loop is in the reverse |
172 | * order, because usually on of the the deeper states has this flag set. | 172 | * order, because usually one of the deeper states have this flag set. |
173 | */ | 173 | */ |
174 | for (i = drv->state_count - 1; i >= 0 ; i--) { | 174 | for (i = drv->state_count - 1; i >= 0 ; i--) { |
175 | 175 | ||