File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ static cpumask_t cpuidle_coupled_poked;
147147 * has returned from this function, the barrier is immediately available for
148148 * reuse.
149149 *
150- * The atomic variable a must be initialized to 0 before any cpu calls
150+ * The atomic variable must be initialized to 0 before any cpu calls
151151 * this function, will be reset to 0 before any cpu returns from this function.
152152 *
153153 * Must only be called from within a coupled idle state handler
Original file line number Diff line number Diff line change @@ -516,7 +516,7 @@ int cpuidle_register(struct cpuidle_driver *drv,
516516
517517#ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED
518518 /*
519- * On multiplatform for ARM, the coupled idle states could
519+ * On multiplatform for ARM, the coupled idle states could be
520520 * enabled in the kernel even if the cpuidle driver does not
521521 * use it. Note, coupled_cpus is a struct copy.
522522 */
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ static inline void __cpuidle_unset_driver(struct cpuidle_driver *drv)
5656}
5757
5858/**
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.
6060 * @drv: a valid pointer to a struct cpuidle_driver
6161 *
6262 * 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)
132132 * cpuidle_setup_broadcast_timer - enable/disable the broadcast timer
133133 * @arg: a void pointer used to match the SMP cross call API
134134 *
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:
136136 * - CLOCK_EVT_NOTIFY_BROADCAST_ON
137137 * - CLOCK_EVT_NOTIFY_BROADCAST_OFF
138138 *
@@ -169,7 +169,7 @@ static int __cpuidle_driver_init(struct cpuidle_driver *drv)
169169 /*
170170 * Look for the timer stop flag in the different states, so that we know
171171 * 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.
173173 */
174174 for (i = drv -> state_count - 1 ; i >= 0 ; i -- ) {
175175
You can’t perform that action at this time.
0 commit comments