From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753530AbcIMD0d (ORCPT ); Mon, 12 Sep 2016 23:26:33 -0400 Received: from muru.com ([72.249.23.125]:42057 "EHLO muru.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751488AbcIMD0b (ORCPT ); Mon, 12 Sep 2016 23:26:31 -0400 Date: Mon, 12 Sep 2016 20:26:26 -0700 From: Tony Lindgren To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Samuel Ortiz , Lee Jones , linux-omap@vger.kernel.org Subject: Re: [PATCH 6/6] mfd: twl-core: Make it explicitly non-modular Message-ID: <20160913032625.v54s7e5m2eyo3k4z@atomide.com> References: <20160912144054.27522-1-paul.gortmaker@windriver.com> <20160912144054.27522-7-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160912144054.27522-7-paul.gortmaker@windriver.com> User-Agent: Mutt/1.6.2-neo (2016-07-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Paul Gortmaker [160912 07:41]: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config TWL4030_CORE > drivers/mfd/Kconfig: bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 Support" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove what modular code that we can, so that when reading the > driver there is less doubt that it is builtin-only. Note that we can't > remove the twl_remove() itself ; it is still used by the probe unwind > routine. So we leave it linked into the .remove as well, even though > it will most likely never be called via that path from an unbind. > > Since module_i2c_driver() uses the same init level priority as > builtin_i2c_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: Tony Lindgren > Cc: Samuel Ortiz > Cc: Lee Jones > Cc: linux-omap@vger.kernel.org > Signed-off-by: Paul Gortmaker Yeah makes sense to me: Acked-by: Tony Lindgren