Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932931AbcKDUfT (ORCPT ); Fri, 4 Nov 2016 16:35:19 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:58264 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932571AbcKDUfR (ORCPT ); Fri, 4 Nov 2016 16:35:17 -0400 DMARC-Filter: OpenDMARC Filter v1.3.1 smtp.codeaurora.org 23A2D61203 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=pass smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 4 Nov 2016 13:35:15 -0700 From: Stephen Boyd To: Paul Gortmaker Cc: linux-kernel@vger.kernel.org, Tero Kristo , Michael Turquette , Peter Ujfalusi , linux-omap@vger.kernel.org, linux-clk@vger.kernel.org Subject: Re: [PATCH 10/10] clk: ti: make clk-dra7-atl explicitly non-modular Message-ID: <20161104203515.GJ16026@codeaurora.org> References: <20160704211220.5685-1-paul.gortmaker@windriver.com> <20160704211220.5685-11-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160704211220.5685-11-paul.gortmaker@windriver.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1394 Lines: 38 On 07/04, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > arch/arm/mach-omap2/Kconfig:config SOC_DRA7XX > arch/arm/mach-omap2/Kconfig: bool "TI DRA7XX" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the modular code that is essentially orphaned, so that > when reading the driver there is no doubt it is builtin-only. > > We explicitly disallow a driver unbind, since that doesn't have a > sensible use case anyway, and it allows us to drop the ".remove" > code for non-modular drivers. > > 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 tags etc. since all that information > is already contained at the top of the file in the comments. > > Cc: Tero Kristo > Cc: Michael Turquette > Cc: Peter Ujfalusi > Cc: Stephen Boyd > Cc: linux-omap@vger.kernel.org > Cc: linux-clk@vger.kernel.org > Signed-off-by: Paul Gortmaker > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project