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: 5402381 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 86B44BEEA8 for ; Fri, 28 Nov 2014 09:45:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 220EA20142 for ; Fri, 28 Nov 2014 09:45:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 439D420123 for ; Fri, 28 Nov 2014 09:45:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751681AbaK1JpA (ORCPT ); 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-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=IEkAoNItLNWKQPU8hVjL6wfVRSah6rr4NXbX85KV8ok=; b=dSqmckOmLLVKLkqHnBq9Q7RTPBZlFL5i3GNh3y3hDK4xmrQWBZDCpsgM9DkjrebH1+ 6ZQbt+Wkafpg+qhzQtwL/R9MjkugZtk+DvnNQ5r09fbzNoZfpLuBwXlgdIFUUmbuZh9n 57HsQnAdsNsEXQiwnu5IuVO975Y0DjMxX2+d0675HI/pAL+SMtw3NlZOqhxkpjdLbB2/ CEvH0FtWTXvACjG8txKdh/RtEgaHuWKL9Sw0ePl/2CzOMp2tgkm3TGohnYsR6ZCkJELj TlW212dIY6N+1rAeHHFG9h0n2i7AsqFM698VT06NXeiJiLs9X/8ziYWzmFrPnjXWu/+i I0LA== X-Gm-Message-State: ALoCoQmtcd57AnKHzT6fjanDd3282R9bAfNQiFeKSWbflNqT17zWdP7C7CQuosKNHjK/HZoQqxTw 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: 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=unavailable 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 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;