From patchwork Wed Sep 7 00:35:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hugh Kang X-Patchwork-Id: 9318081 X-Patchwork-Delegate: rui.zhang@intel.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D68F160760 for ; Wed, 7 Sep 2016 00:41:56 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C7DFB28EB0 for ; Wed, 7 Sep 2016 00:41:56 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B8E3728EED; Wed, 7 Sep 2016 00:41:56 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABEDA28EB0 for ; Wed, 7 Sep 2016 00:41:55 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756100AbcIGAlx (ORCPT ); Tue, 6 Sep 2016 20:41:53 -0400 Received: from LGEAMRELO11.lge.com ([156.147.23.51]:47832 "EHLO lgeamrelo11.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756084AbcIGAlw (ORCPT ); Tue, 6 Sep 2016 20:41:52 -0400 Received: from unknown (HELO lgeamrelo02.lge.com) (156.147.1.126) by 156.147.23.51 with ESMTP; 7 Sep 2016 09:41:49 +0900 X-Original-SENDERIP: 156.147.1.126 X-Original-MAILFROM: hugh.kang@lge.com Received: from unknown (HELO localhost.localdomain) (165.186.175.61) by 156.147.1.126 with ESMTP; 7 Sep 2016 09:41:46 +0900 X-Original-SENDERIP: 165.186.175.61 X-Original-MAILFROM: hugh.kang@lge.com From: Inhyuk Kang To: Viresh Kumar , Javi Merino Cc: amit.kachhap@gmail.com, hugh.kang@lge.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Subject: [PATCH] thermal: cpu_cooling: Fix wrong comment call function name Date: Wed, 7 Sep 2016 09:35:39 +0900 Message-Id: <1473208539-17685-1-git-send-email-hugh.kang@lge.com> X-Mailer: git-send-email 1.9.1 Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The last_load is updated not cpufreq_get_actual_power() function call but cpufreq_get_requested_power() function call. Signed-off-by: Inhyuk Kang Acked-by: Viresh Kumar Acked-by: Javi Merino 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()