From patchwork Thu Oct 3 15:56:41 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 20791 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qc0-f199.google.com (mail-qc0-f199.google.com [209.85.216.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0B8BF25CAB for ; Thu, 3 Oct 2013 15:57:17 +0000 (UTC) Received: by mail-qc0-f199.google.com with SMTP id u18sf4978123qcx.10 for ; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=hND/xD/eJmFkFMHqTWJqhDbXIsBsZxLgxopTG2yfw5o=; b=baltbQ6bKDDFvVtuJJwxMQf0MMdB18ZjolbNFvBBPLBmLiI9FtQFLyTE3fJDuWazmM K1H1H3u0NR25sTGwKJxkeAqIJ+M1GYkLPQE2xbIqiex+Q/oaoQgl91wBOj/sKTq5+dQU KZcNkdOEps5WIEhJMmZgEzNY1TTPeyCtbCE4L31beEb+Bh8r6rtmZuKzpcHJ/sYdNc/A OMVR5rIl22OxvGr5G07XaEdPRpR+QjtflqYvXib6Ob43TOjY7ErdO6zNmkgzX/K6FS0X jQVaCPUoCXpt6bEPCB1cyedoFJ52IK0Nh/8msK79n6X+4K70mhe6dvzDNSLQ4e2D85om eyEQ== X-Received: by 10.236.198.197 with SMTP id v45mr7629366yhn.26.1380815836866; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.50.225 with SMTP id f1ls910246qeo.66.gmail; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) X-Received: by 10.221.32.133 with SMTP id sk5mr1305159vcb.27.1380815836742; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by mx.google.com with ESMTPS id aj7si1891534vec.21.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:57:16 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.45; Received: by mail-vb0-f45.google.com with SMTP id e15so1625103vbg.4 for ; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) X-Gm-Message-State: ALoCoQlSZG8GaCza++hm43EWg7GtPK8p21sy1C6pUqyLghcImmPlEe2ihee4WGfbgVdEQ2GpQXgj X-Received: by 10.220.94.206 with SMTP id a14mr7922678vcn.19.1380815836643; Thu, 03 Oct 2013 08:57:16 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp189149vcz; Thu, 3 Oct 2013 08:57:16 -0700 (PDT) X-Received: by 10.68.134.6 with SMTP id pg6mr9327256pbb.67.1380815835652; Thu, 03 Oct 2013 08:57:15 -0700 (PDT) Received: from mail-pa0-f43.google.com (mail-pa0-f43.google.com [209.85.220.43]) by mx.google.com with ESMTPS id rr7si6033493pbc.225.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:57:15 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.43 is neither permitted nor denied by best guess record for domain of viresh.kumar@linaro.org) client-ip=209.85.220.43; Received: by mail-pa0-f43.google.com with SMTP id hz1so2782549pad.30 for ; Thu, 03 Oct 2013 08:57:15 -0700 (PDT) X-Received: by 10.66.162.195 with SMTP id yc3mr10256149pab.64.1380815835236; Thu, 03 Oct 2013 08:57:15 -0700 (PDT) Received: from localhost ([122.167.152.64]) by mx.google.com with ESMTPSA id sb9sm9089963pbb.0.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Oct 2013 08:57:14 -0700 (PDT) From: Viresh Kumar To: rjw@sisk.pl, daniel.lezcano@linaro.org Cc: linaro-kernel@lists.linaro.org, patches@linaro.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH V2 02/16] cpuidle: Fix comments in cpuidle core Date: Thu, 3 Oct 2013 21:26:41 +0530 Message-Id: <7122b66c349eb4a1ec1451e24a78fd8affe478be.1380815504.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.45 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Few comments in cpuidle core files have trivial mistakes. This patch fixes them. Signed-off-by: Viresh Kumar --- drivers/cpuidle/coupled.c | 2 +- drivers/cpuidle/cpuidle.c | 2 +- drivers/cpuidle/driver.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/cpuidle/coupled.c b/drivers/cpuidle/coupled.c index f8a8636..e952936 100644 --- a/drivers/cpuidle/coupled.c +++ b/drivers/cpuidle/coupled.c @@ -147,7 +147,7 @@ static cpumask_t cpuidle_coupled_poked; * has returned from this function, the barrier is immediately available for * reuse. * - * The atomic variable a must be initialized to 0 before any cpu calls + * The atomic variable must be initialized to 0 before any cpu calls * this function, will be reset to 0 before any cpu returns from this function. * * Must only be called from within a coupled idle state handler diff --git a/drivers/cpuidle/cpuidle.c b/drivers/cpuidle/cpuidle.c index d75040d..8827c02 100644 --- a/drivers/cpuidle/cpuidle.c +++ b/drivers/cpuidle/cpuidle.c @@ -516,7 +516,7 @@ int cpuidle_register(struct cpuidle_driver *drv, #ifdef CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED /* - * On multiplatform for ARM, the coupled idle states could + * On multiplatform for ARM, the coupled idle states could be * enabled in the kernel even if the cpuidle driver does not * use it. Note, coupled_cpus is a struct copy. */ diff --git a/drivers/cpuidle/driver.c b/drivers/cpuidle/driver.c index 6e11701..ced1df6 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) } /** - * __cpuidle_set_driver - set per CPU driver variables the the given driver. + * __cpuidle_set_driver - set per CPU driver variables for the given driver. * @drv: a valid pointer to a struct cpuidle_driver * * 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) * cpuidle_setup_broadcast_timer - enable/disable the broadcast timer * @arg: a void pointer used to match the SMP cross call API * - * @arg is used as a value of type 'long' with on of the two values: + * @arg is used as a value of type 'long' with one of the two values: * - CLOCK_EVT_NOTIFY_BROADCAST_ON * - CLOCK_EVT_NOTIFY_BROADCAST_OFF * @@ -169,7 +169,7 @@ static int __cpuidle_driver_init(struct cpuidle_driver *drv) /* * Look for the timer stop flag in the different states, so that we know * if the broadcast timer has to be set up. The loop is in the reverse - * order, because usually on of the the deeper states has this flag set. + * order, because usually one of the deeper states have this flag set. */ for (i = drv->state_count - 1; i >= 0 ; i--) {