From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-x22d.google.com (mail-pf0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3qYHyS685JzDq6y for ; Mon, 28 Mar 2016 13:33:19 +1100 (AEDT) Received: by mail-pf0-x22d.google.com with SMTP id x3so126133367pfb.1 for ; Sun, 27 Mar 2016 19:33:19 -0700 (PDT) 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 In-Reply-To: <1459116497-19991-4-git-send-email-paul.gortmaker@windriver.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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