From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932873AbcIHI0F (ORCPT ); Thu, 8 Sep 2016 04:26:05 -0400 Received: from foss.arm.com ([217.140.101.70]:39796 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757138AbcIHI0E (ORCPT ); Thu, 8 Sep 2016 04:26:04 -0400 Date: Thu, 8 Sep 2016 09:26:00 +0100 From: Javi Merino To: Inhyuk Kang Cc: Viresh Kumar , amit.kachhap@gmail.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Eduardo Valentin , Rui Zhang Subject: Re: [PATCH] thermal: cpu_cooling: Fix wrong comment call function name Message-ID: <20160908082600.GA3112@e104805> References: <1473208539-17685-1-git-send-email-hugh.kang@lge.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1473208539-17685-1-git-send-email-hugh.kang@lge.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 07, 2016 at 09:35:39AM +0900, Inhyuk Kang wrote: > The last_load is updated not cpufreq_get_actual_power() function call > but cpufreq_get_requested_power() function call. Yep, my bad. Thanks for fixing it! > Signed-off-by: Inhyuk Kang Acked-by: Javi Merino > diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c > index a32b417..9ce0e9e 100644 > --- a/drivers/thermal/cpu_cooling.c > +++ b/drivers/thermal/cpu_cooling.c > @@ -74,7 +74,7 @@ struct power_table { > * cpufreq frequencies. > * @allowed_cpus: all the cpus involved for this cpufreq_cooling_device. > * @node: list_head to link all cpufreq_cooling_device together. > - * @last_load: load measured by the latest call to cpufreq_get_actual_power() > + * @last_load: load measured by the latest call to cpufreq_get_requested_power() > * @time_in_idle: previous reading of the absolute time that this cpu was idle > * @time_in_idle_timestamp: wall time of the last invocation of > * get_cpu_idle_time_us() > -- > 1.9.1 >