From patchwork Thu Dec 4 04:11:47 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 41889 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ee0-f71.google.com (mail-ee0-f71.google.com [74.125.83.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id A4F8E25E8C for ; Thu, 4 Dec 2014 04:13:12 +0000 (UTC) Received: by mail-ee0-f71.google.com with SMTP id c13sf10496655eek.2 for ; Wed, 03 Dec 2014 20:13:11 -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=Ds6dN4B/xrm6t3Cd37ZOHu+B/lfKx8KBaW2qeAz/V/E=; b=ECR7dZUIj3+/184Lp/D7BR/KlLdmNeoRV+NcKSvO5NMngILh5+2eRRLVKk3RlxrbRi xKlpVQ7/HDtiSmPOzacFN5rOp0Qqf48mHt+dJMlIyB2egA1yUKWPRnSTXuostxjRKXdb d4b4nhpKb4VNWVn03lg0UMD/bS9nuBjeTkNwEcgCyMNtch9zNZodrpa86Qyt4QaTietQ Cqw4blHB42mSSp5dhZ+Pf6E3ELI5xqWfUYEliift1mcamcWP5Yo7LagaKZNLo/8xpvQH OInk631GF3cJa0UN3Ve3GP260ZUhkYNu+jouN7Itgc6zX0WUJxsnm/ooNb0veuZSgfSA WFXA== X-Gm-Message-State: ALoCoQnwDz0sCMSsp/YPxPu5OAWPHuNN1zzHfyhpA7KStuRbCPvcd1zKmDK+2Wajr3sXxwJlvJzn X-Received: by 10.112.168.228 with SMTP id zz4mr1788112lbb.7.1417666391709; Wed, 03 Dec 2014 20:13:11 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.44.166 with SMTP id f6ls239147lam.8.gmail; Wed, 03 Dec 2014 20:13:11 -0800 (PST) X-Received: by 10.152.203.199 with SMTP id ks7mr7230878lac.31.1417666391500; Wed, 03 Dec 2014 20:13:11 -0800 (PST) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com. [209.85.217.177]) by mx.google.com with ESMTPS id z5si13026621lal.63.2014.12.03.20.13.11 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:11 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.177 as permitted sender) client-ip=209.85.217.177; Received: by mail-lb0-f177.google.com with SMTP id b6so3874139lbj.22 for ; Wed, 03 Dec 2014 20:13:11 -0800 (PST) X-Received: by 10.112.52.37 with SMTP id q5mr7187823lbo.32.1417666391410; Wed, 03 Dec 2014 20:13:11 -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 ew9csp781023lbc; Wed, 3 Dec 2014 20:13:10 -0800 (PST) X-Received: by 10.66.119.175 with SMTP id kv15mr15406290pab.30.1417666390341; Wed, 03 Dec 2014 20:13:10 -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.09 for ; Wed, 03 Dec 2014 20:13:10 -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 S1752960AbaLDENH (ORCPT + 12 others); Wed, 3 Dec 2014 23:13:07 -0500 Received: from mail-pd0-f170.google.com ([209.85.192.170]:60866 "EHLO mail-pd0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752951AbaLDENF (ORCPT ); Wed, 3 Dec 2014 23:13:05 -0500 Received: by mail-pd0-f170.google.com with SMTP id v10so1705405pde.15 for ; Wed, 03 Dec 2014 20:13:05 -0800 (PST) X-Received: by 10.70.87.173 with SMTP id az13mr14943028pdb.134.1417666385428; Wed, 03 Dec 2014 20:13:05 -0800 (PST) Received: from localhost ([122.166.92.172]) by mx.google.com with ESMTPSA id pb6sm12090011pbb.13.2014.12.03.20.13.04 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:04 -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 05/26] thermal: cpu_cooling: random comment fixups Date: Thu, 4 Dec 2014 09:41:47 +0530 Message-Id: <697523fc464a35f88d4ccadc6f691efd7927553b.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.177 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: , s/give/given Acked-by: Eduardo Valentin Signed-off-by: Viresh Kumar --- drivers/thermal/cpu_cooling.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index f98a763..6f2d41e 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -121,7 +121,7 @@ enum cpufreq_cooling_property { }; /** - * get_property - fetch a property of interest for a give cpu. + * get_property - fetch a property of interest for a given cpu. * @cpu: cpu for which the property is required * @input: query parameter * @output: query return @@ -131,6 +131,7 @@ enum cpufreq_cooling_property { * 1. get maximum cpu cooling states * 2. translate frequency to cooling state * 3. translate cooling state to frequency + * * Note that the code may be not in good shape * but it is written in this way in order to: * a) reduce duplicate code as most of the code can be shared. @@ -211,7 +212,7 @@ static int get_property(unsigned int cpu, unsigned long input, } /** - * cpufreq_cooling_get_level - for a give cpu, return the cooling level. + * cpufreq_cooling_get_level - for a given cpu, return the cooling level. * @cpu: cpu for which the level is required * @freq: the frequency of interest *