From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753454AbdBFD2Z (ORCPT ); Sun, 5 Feb 2017 22:28:25 -0500 Received: from smtp.csie.ntu.edu.tw ([140.112.30.61]:37464 "EHLO smtp.csie.ntu.edu.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752294AbdBFD2Y (ORCPT ); Sun, 5 Feb 2017 22:28:24 -0500 MIME-Version: 1.0 In-Reply-To: <20170202201740.9134-1-paul.gortmaker@windriver.com> References: <20170202201740.9134-1-paul.gortmaker@windriver.com> From: Chen-Yu Tsai Date: Mon, 6 Feb 2017 11:27:58 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] pinctrl: sunxi: make sun5i explicitly non-modular To: Paul Gortmaker Cc: linux-kernel , Linus Walleij , Maxime Ripard , Chen-Yu Tsai , "linux-gpio@vger.kernel.org" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 3, 2017 at 4:17 AM, Paul Gortmaker wrote: > We had all these corrected in commit 0c8c6ba00cbf ("pinctrl: sunxi: > make bool drivers explicitly non-modular") but this new one recently > crept in. > > The Kconfig currently controlling compilation of this code is: > > drivers/pinctrl/sunxi/Kconfig:config PINCTRL_SUN5I > drivers/pinctrl/sunxi/Kconfig: def_bool MACH_SUN5I > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the couple traces of modular infrastructure use, 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. > > Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. > > 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: Linus Walleij > Cc: Maxime Ripard > Cc: Chen-Yu Tsai > Cc: linux-gpio@vger.kernel.org > Signed-off-by: Paul Gortmaker Acked-by: Chen-Yu Tsai