From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757208AbcIMIut (ORCPT ); Tue, 13 Sep 2016 04:50:49 -0400 Received: from mail-wm0-f44.google.com ([74.125.82.44]:35144 "EHLO mail-wm0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757119AbcIMIuo (ORCPT ); Tue, 13 Sep 2016 04:50:44 -0400 Date: Tue, 13 Sep 2016 09:52:36 +0100 From: Lee Jones To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Mika Westerberg Subject: Re: [PATCH 3/6] mfd: intel_msic: Make it explicitly non-modular Message-ID: <20160913085236.GC24465@dell> References: <20160912144054.27522-1-paul.gortmaker@windriver.com> <20160912144054.27522-4-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160912144054.27522-4-paul.gortmaker@windriver.com> User-Agent: Mutt/1.6.2 (2016-07-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Sep 2016, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config MFD_INTEL_MSIC > drivers/mfd/Kconfig: bool "Intel MSIC > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the couple instances of module references, so that > when reading the driver there is no doubt it is builtin-only. > > Since module_platform_driver() uses the same init level priority as > builtin_platform_driver() 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: Lee Jones > Cc: Mika Westerberg > Acked-by: Mika Westerberg > Signed-off-by: Paul Gortmaker > --- > drivers/mfd/intel_msic.c | 9 ++------- > 1 file changed, 2 insertions(+), 7 deletions(-) Applied, thanks. > diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c > index 25d486c543cb..2017446c5b4b 100644 > --- a/drivers/mfd/intel_msic.c > +++ b/drivers/mfd/intel_msic.c > @@ -12,7 +12,7 @@ > #include > #include > #include > -#include > +#include > #include > #include > #include > @@ -449,9 +449,4 @@ static struct platform_driver intel_msic_driver = { > .name = "intel_msic", > }, > }; > - > -module_platform_driver(intel_msic_driver); > - > -MODULE_DESCRIPTION("Driver for Intel MSIC"); > -MODULE_AUTHOR("Mika Westerberg "); > -MODULE_LICENSE("GPL"); > +builtin_platform_driver(intel_msic_driver); -- Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog