From patchwork Fri Feb 11 16:10:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12743607 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE5E7C433EF for ; Fri, 11 Feb 2022 16:10:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240987AbiBKQKr (ORCPT ); Fri, 11 Feb 2022 11:10:47 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:41524 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1351020AbiBKQKp (ORCPT ); Fri, 11 Feb 2022 11:10:45 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 25C14D85 for ; Fri, 11 Feb 2022 08:10:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644595843; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=wv4wDMknRhoRv5J/R0DKZOmWjk7EJX8SY/gPCW59QMU=; b=gZFzHcxLzRH9Ji7nI8vbGX1vK/rzACcQVcDJGEheEzL+WtGL9ZjuWaNfqTLl2ntIp0DxyF 3RQzqWg/7VDOIROxJer4k/F+c6mpK9f03A4Eati4EtDAnrY7MyG0ILPFe2ILzA0q2iI5Z7 wIu6lk2nCxgHTZkCnoOH18c+1zCzeyM= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-515-h-aXM2DgP9ORJcSs70-AUQ-1; Fri, 11 Feb 2022 11:10:41 -0500 X-MC-Unique: h-aXM2DgP9ORJcSs70-AUQ-1 Received: by mail-oi1-f200.google.com with SMTP id t6-20020a056808158600b002cec2812d52so2427392oiw.9 for ; Fri, 11 Feb 2022 08:10:41 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=wv4wDMknRhoRv5J/R0DKZOmWjk7EJX8SY/gPCW59QMU=; b=i1lDx9u7R/5lAhTsnGKnj0MiPqzPeYhfO1eSLv1jTXb0mVnHO+iP+d48tpqqk10XpH 4ZMTiO9TOa8kalrgBfVSIgeCexSJIl73ZkVi9KWGpbcSQ+HhXe4Lsa2RdQ46KAEkYcrM LmAQ7nNiAbHgM6n3YFDtNwWJ1qZAjnUBJL2IKTJD5xffuCStN1ahmA+Wg7fD7l4QWyVL PhrEGk7C1qJYuKuWlAEqyAjFjLKIjG/o4SRl5LjXU8UYGauzHpUnAw01mhR+hOm+tSFs OxfYJhLgjPpZ/8tSia08ZQbv+RUk5KlWqgCChQDVlQ+kw8hzORihhwCAhLuDTgju7L8V u/0g== X-Gm-Message-State: AOAM531kBh1suhpNM/Qqa8UkFMWUc88aOwg9tJI0/WUwvNi6gNfkjU5J 8a4IGfFuhhvh3o7PqApZH7qmyxQ/PX0/Rpug97l3A1aqrmwYk0bEi4Qz/ks/hSA3d2YhzhuOIae 0Jg18BJusPBfQiKNZ3cc= X-Received: by 2002:a9d:6086:: with SMTP id m6mr854396otj.284.1644595840863; Fri, 11 Feb 2022 08:10:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJwu+zFXmT2uhpj6XQra+rL5A6s/OVXMaLY1RwA874o6rssX56oeYMdm1pSJ+FREMEUciMTQng== X-Received: by 2002:a9d:6086:: with SMTP id m6mr854384otj.284.1644595840684; Fri, 11 Feb 2022 08:10:40 -0800 (PST) Received: from localhost.localdomain.com (024-205-208-113.res.spectrum.com. [24.205.208.113]) by smtp.gmail.com with ESMTPSA id d14sm9532779ooh.44.2022.02.11.08.10.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Feb 2022 08:10:40 -0800 (PST) From: trix@redhat.com To: rafael@kernel.org, len.brown@intel.com, pavel@ucw.cz, gregkh@linuxfoundation.org Cc: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] PM: cleanup comments Date: Fri, 11 Feb 2022 08:10:27 -0800 Message-Id: <20220211161027.2516447-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Tom Rix Remove the second 'the'. Replace the second 'of' with 'the'. Replace 'couter' with 'counter'. Signed-off-by: Tom Rix Acked-by: Randy Dunlap Acked-by: Pavel Machek --- drivers/base/power/wakeirq.c | 2 +- drivers/base/power/wakeup.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/power/wakeirq.c b/drivers/base/power/wakeirq.c index 0004db4a9d3b..d487a6bac630 100644 --- a/drivers/base/power/wakeirq.c +++ b/drivers/base/power/wakeirq.c @@ -289,7 +289,7 @@ EXPORT_SYMBOL_GPL(dev_pm_disable_wake_irq); * * Enables wakeirq conditionally. We need to enable wake-up interrupt * lazily on the first rpm_suspend(). This is needed as the consumer device - * starts in RPM_SUSPENDED state, and the the first pm_runtime_get() would + * starts in RPM_SUSPENDED state, and the first pm_runtime_get() would * otherwise try to disable already disabled wakeirq. The wake-up interrupt * starts disabled with IRQ_NOAUTOEN set. * diff --git a/drivers/base/power/wakeup.c b/drivers/base/power/wakeup.c index 8666590201c9..a57d469676ca 100644 --- a/drivers/base/power/wakeup.c +++ b/drivers/base/power/wakeup.c @@ -587,7 +587,7 @@ static bool wakeup_source_not_registered(struct wakeup_source *ws) * @ws: Wakeup source to handle. * * Update the @ws' statistics and, if @ws has just been activated, notify the PM - * core of the event by incrementing the counter of of wakeup events being + * core of the event by incrementing the counter of the wakeup events being * processed. */ static void wakeup_source_activate(struct wakeup_source *ws) @@ -733,7 +733,7 @@ static void wakeup_source_deactivate(struct wakeup_source *ws) /* * Increment the counter of registered wakeup events and decrement the - * couter of wakeup events in progress simultaneously. + * counter of wakeup events in progress simultaneously. */ cec = atomic_add_return(MAX_IN_PROGRESS, &combined_event_count); trace_wakeup_source_deactivate(ws->name, cec);