From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758208AbcCVDQV (ORCPT ); Mon, 21 Mar 2016 23:16:21 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:36747 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752256AbcCVDQT (ORCPT ); Mon, 21 Mar 2016 23:16:19 -0400 Date: Tue, 22 Mar 2016 08:46:16 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List Subject: Re: [PATCH 2/3] cpufreq: Introduce cpufreq_update_current_freq() Message-ID: <20160322031616.GS27778@vireshk-i7> References: <1780622.pJaGsuQWcI@vostro.rjw.lan> <4711274.maD9A8j7Lu@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4711274.maD9A8j7Lu@vostro.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-03-16, 15:46, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Move the part of cpufreq_update_policy() that obtains the current > frequency from the driver and updates policy->cur if necessary to > a separate function, cpufreq_get_current_freq(). > > That should not introduce functional changes and subsequent change > set will need it. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 28 +++++++++++++++++++--------- > 1 file changed, 19 insertions(+), 9 deletions(-) Acked-by: Viresh Kumar -- viresh