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: 5435031 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 AF901BEEA8 for ; Thu, 4 Dec 2014 04:13:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id AD1F82021F for ; Thu, 4 Dec 2014 04:13:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9AC4E20266 for ; Thu, 4 Dec 2014 04:13:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752960AbaLDENH (ORCPT ); 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-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=WXOp0VbJ/+Vllumh5IVh2+nuqOZRZJgBeihfzwCekhM=; b=jeed0MMr7CG/sDYnSP6sp+83030LbA12PMrsaJkZ7hG7MRQD0KFvbiBtL12tXJ3aEt ptJ+nIkoWhgwHbZ1ck3WR8OQ6RDQB07p6HNmjVzB6hZ+nl2U8WP2uQclT4DSThJznMTE p40nM+9UJCrBrPIxvTTmOhemp32957C72I+4AkkGElzh0F6TlpVRlieuQTh9Vv6o6gTB WihJLn/jbER0Po2xD3VpshJdloB1LBiRY0Oi76FaF2AReyHeci2m5FGJ5KPtfq7hPJIp YJLxNsi0+6H3OOvYhV0XMNOFhVIZTnc7D6t4yGJU0grTnTfguXEUOdKix3uSHaH3rp/c frCg== X-Gm-Message-State: ALoCoQm2UOtNn54flE9mZvUHx3UZ1mh3MZGauhqUT4JNJdOCa7ZcJF1F4+u5cHmSW6eiNBZyFJ8+ 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: 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 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 *