From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753376AbcBVFYe (ORCPT ); Mon, 22 Feb 2016 00:24:34 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:33441 "EHLO mail-pa0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753250AbcBVFYd (ORCPT ); Mon, 22 Feb 2016 00:24:33 -0500 Date: Mon, 22 Feb 2016 10:54:15 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List Subject: Re: [PATCH 2/2] cpufreq: governor: Make gov_set_update_util() static Message-ID: <20160222052415.GC28226@vireshk-i7> References: <2410542.x6e5Rli2VY@vostro.rjw.lan> <1513735.63Kc3ciBeA@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513735.63Kc3ciBeA@vostro.rjw.lan> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 21-02-16, 03:15, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The gov_set_update_util() routine is only used internally by the > common governor code and it doesn't need to be exported, so make > it static. > > No functional changes. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq_governor.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > > Index: linux-pm/drivers/cpufreq/cpufreq_governor.c > =================================================================== > --- linux-pm.orig/drivers/cpufreq/cpufreq_governor.c > +++ linux-pm/drivers/cpufreq/cpufreq_governor.c > @@ -261,8 +261,8 @@ unsigned int dbs_update(struct cpufreq_p > } > EXPORT_SYMBOL_GPL(dbs_update); > > -void gov_set_update_util(struct policy_dbs_info *policy_dbs, > - unsigned int delay_us) > +static void gov_set_update_util(struct policy_dbs_info *policy_dbs, > + unsigned int delay_us) > { > struct cpufreq_policy *policy = policy_dbs->policy; > int cpu; > @@ -276,7 +276,6 @@ void gov_set_update_util(struct policy_d > cpufreq_set_update_util_data(cpu, &cdbs->update_util); > } > } > -EXPORT_SYMBOL_GPL(gov_set_update_util); > > static inline void gov_clear_update_util(struct cpufreq_policy *policy) > { Acked-by: Viresh Kumar -- viresh