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: 41890 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f71.google.com (mail-wg0-f71.google.com [74.125.82.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1ABAB25E88 for ; Thu, 4 Dec 2014 04:13:16 +0000 (UTC) Received: by mail-wg0-f71.google.com with SMTP id l18sf10320195wgh.2 for ; Wed, 03 Dec 2014 20:13:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:in-reply-to:references :sender:precedence:list-id:x-original-sender :x-original-authentication-results:mailing-list:list-post:list-help :list-archive:list-unsubscribe; bh=dUNS1KT6r6dYz/Y1iuKtX/tLivAKDG0KVSCxVqJzRZw=; b=bXrmxf6lL/U7xKmu2506ooYGMi25FNasp6K2Nkvho5bswyL+7TzDXfDkpUi3L1mNG4 DgMGaHD8RNheZoGLerx5BZQ0ql3H+9rx7D0j1UYq7chq1eGMWCrBUdr6Vbo2qs73LF6A tYD43aSRAw7qG7AhtUPgHWVtGZii/9heIpOdkNwwcCS8hX3V23kODalNcB3HfPY9HZ8q Q3xtcgUqZyRSfMxXOxan1kfFjfaWLCrsj2l4SA8khn1TK/LnUW2yrpUpN5bF8wm7I1zg 3mcMoyBGspVj4xzI/le9dInSLvt2yTlorzk4PId3qbWpzaSiePeSAsyYtC0qd5ZgcI2Y JC6A== X-Gm-Message-State: ALoCoQkilHsDdYT0ZgwmyJuXhprNAEsz+sYbp79nv6Pk4GqPcMdUcH6c9ZgbHsMiSAqRPdLLQFT7 X-Received: by 10.152.10.233 with SMTP id l9mr1796289lab.0.1417666395355; Wed, 03 Dec 2014 20:13:15 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.2.7 with SMTP id 7ls200230laq.88.gmail; Wed, 03 Dec 2014 20:13:15 -0800 (PST) X-Received: by 10.112.189.104 with SMTP id gh8mr7235128lbc.91.1417666395155; Wed, 03 Dec 2014 20:13:15 -0800 (PST) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com. [209.85.217.180]) by mx.google.com with ESMTPS id wx5si24596158lbb.122.2014.12.03.20.13.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:15 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) client-ip=209.85.217.180; Received: by mail-lb0-f180.google.com with SMTP id l4so13529727lbv.11 for ; Wed, 03 Dec 2014 20:13:15 -0800 (PST) X-Received: by 10.153.7.170 with SMTP id dd10mr7224668lad.44.1417666395040; Wed, 03 Dec 2014 20:13:15 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.184.201 with SMTP id ew9csp781031lbc; Wed, 3 Dec 2014 20:13:14 -0800 (PST) X-Received: by 10.70.50.1 with SMTP id y1mr15293080pdn.12.1417666393156; Wed, 03 Dec 2014 20:13:13 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df1si18139882pdb.237.2014.12.03.20.13.12 for ; Wed, 03 Dec 2014 20:13:13 -0800 (PST) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752978AbaLDENL (ORCPT + 12 others); 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-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: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.180 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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;