Skip to content

Commit 7dfe105

Browse files
Tom Rixrafaeljw
authored andcommitted
PM: sleep: wakeup: Fix typos in comments
Remove the second 'the'. Replace the second 'of' with 'the'. Replace 'couter' with 'counter'. Signed-off-by: Tom Rix <trix@redhat.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent 3f51aa9 commit 7dfe105

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/base/power/wakeirq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ EXPORT_SYMBOL_GPL(dev_pm_disable_wake_irq);
289289
*
290290
* Enables wakeirq conditionally. We need to enable wake-up interrupt
291291
* lazily on the first rpm_suspend(). This is needed as the consumer device
292-
* starts in RPM_SUSPENDED state, and the the first pm_runtime_get() would
292+
* starts in RPM_SUSPENDED state, and the first pm_runtime_get() would
293293
* otherwise try to disable already disabled wakeirq. The wake-up interrupt
294294
* starts disabled with IRQ_NOAUTOEN set.
295295
*

drivers/base/power/wakeup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static bool wakeup_source_not_registered(struct wakeup_source *ws)
587587
* @ws: Wakeup source to handle.
588588
*
589589
* Update the @ws' statistics and, if @ws has just been activated, notify the PM
590-
* core of the event by incrementing the counter of of wakeup events being
590+
* core of the event by incrementing the counter of the wakeup events being
591591
* processed.
592592
*/
593593
static void wakeup_source_activate(struct wakeup_source *ws)
@@ -733,7 +733,7 @@ static void wakeup_source_deactivate(struct wakeup_source *ws)
733733

734734
/*
735735
* Increment the counter of registered wakeup events and decrement the
736-
* couter of wakeup events in progress simultaneously.
736+
* counter of wakeup events in progress simultaneously.
737737
*/
738738
cec = atomic_add_return(MAX_IN_PROGRESS, &combined_event_count);
739739
trace_wakeup_source_deactivate(ws->name, cec);

0 commit comments

Comments
 (0)