From patchwork Fri Nov 28 09:44:00 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 41673 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f197.google.com (mail-wi0-f197.google.com [209.85.212.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id AB2EB244C2 for ; Fri, 28 Nov 2014 09:45:05 +0000 (UTC) Received: by mail-wi0-f197.google.com with SMTP id l15sf4053754wiw.4 for ; Fri, 28 Nov 2014 01:45:05 -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=n94OaoIo1x+f8djKTN+3mECBrmx7J9n+BZeBERZY30o=; b=dEtSb7uMKCKzMwSjez8Csqhapvt2R3HY08V8Qh1wxNDNN5Kh0NYE/SIBxnGUEe0Syx VmQUmZ5K0A/vLkC0QKE1m6FSqsl6E5eE2lkDRK4tuQ7VeMg9znMDQz0NLhT2zKJGQyM3 NkpFy3/vyMM/78vzeEljDXUKPByII/U79u/Dgzemfpy21JsKPt4C1ASq2RwmCqVK1xeM G+41v4hGM+O4paK5zeCg2lZ7CM1mbOqJJnlEMWU93uX/CM/Kf2yANY+qgcRGMNBLeMmX AnPE9FwAqNIDmzCCiLzfhEmPdg4agzSZnNzGuyBGqZ0E1a173q3NRQF8uQTCcwfSH31J LeqA== X-Gm-Message-State: ALoCoQnyVqvfRncSJobSU+opJQXWqgF/xOZU0K7SNd7+8w5gBUuynmZzjBdQ7KIEP8qH+48ucjc6 X-Received: by 10.194.134.193 with SMTP id pm1mr3597340wjb.4.1417167904967; Fri, 28 Nov 2014 01:45:04 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.65 with SMTP id kw1ls620489lac.70.gmail; Fri, 28 Nov 2014 01:45:04 -0800 (PST) X-Received: by 10.112.135.229 with SMTP id pv5mr42798932lbb.52.1417167904807; Fri, 28 Nov 2014 01:45:04 -0800 (PST) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com. [209.85.217.175]) by mx.google.com with ESMTPS id r9si9489763lag.32.2014.11.28.01.45.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Nov 2014 01:45:04 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.175 as permitted sender) client-ip=209.85.217.175; Received: by mail-lb0-f175.google.com with SMTP id u10so5218334lbd.6 for ; Fri, 28 Nov 2014 01:45:04 -0800 (PST) X-Received: by 10.112.189.10 with SMTP id ge10mr42374168lbc.23.1417167904692; Fri, 28 Nov 2014 01:45:04 -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 ew9csp60394lbc; Fri, 28 Nov 2014 01:45:03 -0800 (PST) X-Received: by 10.66.171.37 with SMTP id ar5mr16837516pac.69.1417167903000; Fri, 28 Nov 2014 01:45:03 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id vj10si15336419pbc.138.2014.11.28.01.45.02 for ; Fri, 28 Nov 2014 01:45:02 -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 S1751681AbaK1JpA (ORCPT + 12 others); Fri, 28 Nov 2014 04:45:00 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:48776 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751663AbaK1Jo7 (ORCPT ); Fri, 28 Nov 2014 04:44:59 -0500 Received: by mail-pa0-f42.google.com with SMTP id et14so6561398pad.29 for ; Fri, 28 Nov 2014 01:44:59 -0800 (PST) X-Received: by 10.70.23.133 with SMTP id m5mr71728113pdf.131.1417167899515; Fri, 28 Nov 2014 01:44:59 -0800 (PST) Received: from localhost ([122.167.111.40]) by mx.google.com with ESMTPSA id dp3sm9401412pdb.46.2014.11.28.01.44.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Nov 2014 01:44:58 -0800 (PST) From: Viresh Kumar To: linux-pm@vger.kernel.org, edubezval@gmail.com Cc: linaro-kernel@lists.linaro.org, rui.zhang@intel.com, Viresh Kumar Subject: [PATCH 06/26] cpu_cooling: fix doc comment over struct cpufreq_cooling_device Date: Fri, 28 Nov 2014 15:14:00 +0530 Message-Id: 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.175 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 7c2ba2e..3ef9050 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;