From patchwork Thu Dec 4 04:11:48 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 5435051 X-Patchwork-Delegate: eduardo.valentin@ti.com Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9F535BEEA8 for ; Thu, 4 Dec 2014 04:13:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D97FB20353 for ; Thu, 4 Dec 2014 04:13:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 02BE520266 for ; Thu, 4 Dec 2014 04:13:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbaLDENL (ORCPT ); Wed, 3 Dec 2014 23:13:11 -0500 Received: from mail-pa0-f48.google.com ([209.85.220.48]:41009 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752958AbaLDENJ (ORCPT ); Wed, 3 Dec 2014 23:13:09 -0500 Received: by mail-pa0-f48.google.com with SMTP id rd3so17169838pab.21 for ; Wed, 03 Dec 2014 20:13:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=IoFUQViIdpqH+d0VOBMcij9vjHXaqVOR/NjD5825XGg=; b=lmq2pJaCoodO2BfJhcddPjgKSu26/l2YZoeoe5IlcAIBVCAyyCcNZCS8cjNKtQ3AIa fph0+sW/I6LzZOyWVSGNBd2KLavCybWxOyq1f0IsW30Y6PuFvIGTATE2nJy7/RLHRrpz KT0yX8+dlBJwshLmR0LiG9VR5hEP3lrdcRWAGksP4jP4eRmg7qe5C+/xHRDuL8Z+1dfU fIoODCCmlbJedvC4CxjLYePlkCh/5LFU3OtMb759ZOLN00b+S+ObHFMAjn7qFagdhpqL 4EVrv/R7YEoYJcq8KYjupFvvk1Gm0Yp5qJgOpgGjf8xYci87Z7WQMkcf0B8EMPMpBAOQ D1PQ== X-Gm-Message-State: ALoCoQkgE0aqAPK5xM62KnXawjkZcwcgPfJNhNl/5XcOo+npiyeiUnnqPLu1rXPte+/GpGgLaUqm X-Received: by 10.66.124.228 with SMTP id ml4mr15116421pab.42.1417666389105; Wed, 03 Dec 2014 20:13:09 -0800 (PST) Received: from localhost ([122.166.92.172]) by mx.google.com with ESMTPSA id hk9sm14338908pdb.47.2014.12.03.20.13.07 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:08 -0800 (PST) From: Viresh Kumar To: linux-pm@vger.kernel.org, edubezval@gmail.com Cc: linaro-kernel@lists.linaro.org, rui.zhang@intel.com, amit.daniel@samsung.com, javi.merino@arm.com, Viresh Kumar Subject: [PATCH V2 06/26] thermal: cpu_cooling: fix doc comment over struct cpufreq_cooling_device Date: Thu, 4 Dec 2014 09:41:48 +0530 Message-Id: <65fe28eb30ff75ec96c29f85c0822eecf23879bf.1417664938.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.3.693.g996b0fd In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP cooling_cpufreq_lock isn't used to protect this structure and so the comment over it is outdated. Fix it. Signed-off-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index 6f2d41e..cc10641 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -40,9 +40,8 @@ * frequency. * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device. * - * This structure is required for keeping information of each - * cpufreq_cooling_device registered. In order to prevent corruption of this a - * mutex lock cooling_cpufreq_lock is used. + * This structure is required for keeping information of each registered + * cpufreq_cooling_device. */ struct cpufreq_cooling_device { int id;