From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753823AbcC1CdU (ORCPT ); Sun, 27 Mar 2016 22:33:20 -0400 Received: from mail-pf0-f171.google.com ([209.85.192.171]:35207 "EHLO mail-pf0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753388AbcC1CdS (ORCPT ); Sun, 27 Mar 2016 22:33:18 -0400 Date: Mon, 28 Mar 2016 08:03:14 +0530 From: Viresh Kumar To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Christian Krafft , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 3/3] drivers/cpufreq: make ppc_cbe_cpufreq_pmi driver explicitly non-modular Message-ID: <20160328023314.GA28406@vireshk-i7> References: <1459116497-19991-1-git-send-email-paul.gortmaker@windriver.com> <1459116497-19991-4-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1459116497-19991-4-git-send-email-paul.gortmaker@windriver.com> 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 27-03-16, 18:08, Paul Gortmaker wrote: > The Kconfig for this driver is currently: > > config CPU_FREQ_CBE_PMI > bool "CBE frequency scaling using PMI interface" > > ...meaning that it currently is not being built as a module by > anyone. Lets remove the modular and unused code here, so that > when reading the driver there is no doubt it is builtin-only. > > Since module_init translates to device_initcall in the non-modular > case, the init ordering remains unchanged with this commit. > > We also delete the MODULE_LICENSE tag etc. since all that information > is already contained at the top of the file in the comments. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: Christian Krafft > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Michael Ellerman > Cc: linuxppc-dev@lists.ozlabs.org > Cc: linux-pm@vger.kernel.org > Signed-off-by: Paul Gortmaker > --- > drivers/cpufreq/ppc_cbe_cpufreq_pmi.c | 15 ++------------- > 1 file changed, 2 insertions(+), 13 deletions(-) Acked-by: Viresh Kumar -- viresh