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: 5402361 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 62795BEEA8 for ; Fri, 28 Nov 2014 09:44:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 7D0E420145 for ; Fri, 28 Nov 2014 09:44:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A85BD20123 for ; Fri, 28 Nov 2014 09:44:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751673AbaK1Jo4 (ORCPT ); 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-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=ma4zKMQDtB3dZM+jIpMZT5kQIUvgFtBbmoM6+tfJ7ZU=; b=PVcN/zZt2/IFOugtGe9WJbcrRv1e6qgkJJeCkwn/w2K+lw8qqPw8xZMN7uN7OKVzeQ qxA6h0LBWY38hsTDNwaBLMgtIbomXo8gFMi/+H1tmI7tkzuyVYp0NCKZWgI/AVexYdgH 3CDvH3KZRAn1Dsvet/74AJ2R3LN/ngSrg/6UI77I6E/ASy/FKHz0G5HWV6aHiORaGpgq +V5ywT+gmNtKFH/X4P+x3AGgZfEjFk39xDma0b6rzxzKkgMl1IpZGRQhm/Mg4s2A1Jdt 7KGfk9H9Q47WDtCI4JASz+48CdfEC/UTwy0mPf/3o7bKpJDfC4TsjqQdIIFF9BZfAAnV 29uw== X-Gm-Message-State: ALoCoQlPgBsWvbhL5DGNxM5g6gZW0COrhAr9uSViiLz4cqxd+8lQS6r6+ZhN8ob4uTVR/GTizv6N 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: 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=ham 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 s/give/given Signed-off-by: Viresh Kumar Acked-by: Eduardo Valentin --- 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 *