From patchwork Fri Nov 28 09:43:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 41672 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f70.google.com (mail-wg0-f70.google.com [74.125.82.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EBBBA244C2 for ; Fri, 28 Nov 2014 09:45:00 +0000 (UTC) Received: by mail-wg0-f70.google.com with SMTP id b13sf3895120wgh.1 for ; Fri, 28 Nov 2014 01:45:00 -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=67ObBeId1sebx+Kch07opbmzogqVaT0Z8mES+TAWux0=; b=GxIBUAdRn6+sXPZB9PDeaqhrg2YAkKRi+c1VagyEgSLVhdd3GVta/UY2fWO9JNAUce up3lF3KraZhtXv/BW6twh9VgSxZDOrY8Tju+kYXjAb2ldczLVj6TuAnJlSX5+lMjhr6l CQ515BS5n66m3q6bkFKKBx/8wGP3ztXlMm4vykqNzRs73rP7XBRwePMnuThky+SXWMhb 1hSeVeOwVAj0xBEUxKVZ7OFnAz2CHdOlJ0pM7kpisp/qTZBBAecxNZrtCoSDe/pwbIoR T6BHnbNqdeKq3vjWRKs5mrrv0wyYGrxG2V74S18WvgQ2el5ciyxRE4heLByHWactHR1s YiiQ== X-Gm-Message-State: ALoCoQlMABsbmlANYl4GAf+UxXZ+gm1Gq7ENE1kyppIW+9oe6tFsysDJuYVOZtNKwF0tguN9CTDq X-Received: by 10.180.94.3 with SMTP id cy3mr9735920wib.7.1417167900227; Fri, 28 Nov 2014 01:45:00 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.4.227 with SMTP id n3ls934210lan.71.gmail; Fri, 28 Nov 2014 01:45:00 -0800 (PST) X-Received: by 10.112.157.194 with SMTP id wo2mr42782493lbb.55.1417167900069; Fri, 28 Nov 2014 01:45:00 -0800 (PST) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com. [209.85.217.174]) by mx.google.com with ESMTPS id bn10si9430183lbc.108.2014.11.28.01.45.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 28 Nov 2014 01:45:00 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.217.174 as permitted sender) client-ip=209.85.217.174; Received: by mail-lb0-f174.google.com with SMTP id w7so5409399lbi.33 for ; Fri, 28 Nov 2014 01:45:00 -0800 (PST) X-Received: by 10.112.38.4 with SMTP id c4mr27281022lbk.46.1417167899938; Fri, 28 Nov 2014 01:44:59 -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 ew9csp60379lbc; Fri, 28 Nov 2014 01:44:59 -0800 (PST) X-Received: by 10.70.5.130 with SMTP id s2mr71627839pds.17.1417167898401; Fri, 28 Nov 2014 01:44:58 -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.44.57 for ; Fri, 28 Nov 2014 01:44:58 -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 S1751673AbaK1Jo4 (ORCPT + 12 others); Fri, 28 Nov 2014 04:44:56 -0500 Received: from mail-pa0-f49.google.com ([209.85.220.49]:37865 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751649AbaK1Jo4 (ORCPT ); Fri, 28 Nov 2014 04:44:56 -0500 Received: by mail-pa0-f49.google.com with SMTP id eu11so6493959pac.22 for ; Fri, 28 Nov 2014 01:44:55 -0800 (PST) X-Received: by 10.66.216.198 with SMTP id os6mr71326718pac.112.1417167895739; Fri, 28 Nov 2014 01:44:55 -0800 (PST) Received: from localhost ([122.167.111.40]) by mx.google.com with ESMTPSA id m5sm9393124pdp.53.2014.11.28.01.44.54 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 28 Nov 2014 01:44:55 -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 05/26] cpu_cooling: random comment fixups Date: Fri, 28 Nov 2014 15:13:59 +0530 Message-Id: <79da69f109b055b435f3703e23abf3a6415a40d9.1417167599.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.174 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 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 1ab0018..7c2ba2e 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -122,7 +122,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 @@ -132,6 +132,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. @@ -212,7 +213,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 *