Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tom Rix and committed by
Rafael J. Wysocki
7dfe105d 3f51aa9e

+3 -3
+1 -1
drivers/base/power/wakeirq.c
··· 289 289 * 290 290 * Enables wakeirq conditionally. We need to enable wake-up interrupt 291 291 * 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 293 293 * otherwise try to disable already disabled wakeirq. The wake-up interrupt 294 294 * starts disabled with IRQ_NOAUTOEN set. 295 295 *
+2 -2
drivers/base/power/wakeup.c
··· 587 587 * @ws: Wakeup source to handle. 588 588 * 589 589 * 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 591 591 * processed. 592 592 */ 593 593 static void wakeup_source_activate(struct wakeup_source *ws) ··· 733 733 734 734 /* 735 735 * 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. 737 737 */ 738 738 cec = atomic_add_return(MAX_IN_PROGRESS, &combined_event_count); 739 739 trace_wakeup_source_deactivate(ws->name, cec);