Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp994576imu; Fri, 7 Dec 2018 12:17:37 -0800 (PST) X-Google-Smtp-Source: AFSGD/WodWs7jxYtj2tpQL4IeEjFffW9cu39NvkQo18cWl/2w7n0tvB83Tr9Cp+rhq0GmHj2apIe X-Received: by 2002:a17:902:708b:: with SMTP id z11mr3434667plk.203.1544213857300; Fri, 07 Dec 2018 12:17:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544213857; cv=none; d=google.com; s=arc-20160816; b=uBqKr5ROGgBw9kj/mKIu6XNdAORdEdueUrXx27FdYEQy2eOQ9awQMv6o+HjJVOQ2G4 tWz4HkH+c3BuNaHmzn9SR9XIIn6WOz0cXzs2pv4gXf7AHI7U0P3Ces9wxU0ogH6GBpun HdQkvaIx9sFPT0cA4OiRqAXwunEGznfc9pbZDPA9GRPD3W4LIMCjxSSJp1KDPBHU/5qz LDMawxErUGvaJZqKz2SpWQtSKs/CD0m3XfLSTiCyzgoMTN4LNuwnxu2aKDHY4aD2j8Q+ vyHSMYHTHlJbCIrSyjGOCervO7dFyEcqQgzzd39QYz7xEggyGLX3+hNuPU89VSmnU38A 19LA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=qo85u4vPI7A+1hE3A1cZ2/+C2fNAlRMCRsbCbwHszOg=; b=x001VAiummVVOBpmFm91b0C0kr3t3ymI7EVO+3bKVF9pnEGl83wpeSijSbiA1g7FLF jJnxiYwV3BSUlrDQz1rGLghShVXEsOHlA39GKVSYmYIEBgDtFdWeQ7h1nyhY7M5E9wn/ TiEMTMcidNY8P8zdblB/tuxmWWhpenSNj+GkAuMWSpm0Bu9LRsZyn7SMSbZt5iQr/YC/ IZjx84JjYCOdzXAjk6sSBrgp8uudPmqvfPJw+3yqBr6xJYIZ7jU3Uph+ppfPNxZRQD4X avV6G0Ih9XUOhRC9qIKc+Dr2TriXh33v9uMJM/elSbPUMWVyxZ0pMIq5tpBrWeK/Ppwi Ok1g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r14si3563267pgk.75.2018.12.07.12.17.22; Fri, 07 Dec 2018 12:17:37 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726143AbeLGUPC (ORCPT + 99 others); Fri, 7 Dec 2018 15:15:02 -0500 Received: from mail5.windriver.com ([192.103.53.11]:59188 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726065AbeLGUPC (ORCPT ); Fri, 7 Dec 2018 15:15:02 -0500 Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id wB7KDkPO031348 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Fri, 7 Dec 2018 12:14:16 -0800 Received: from yow-cube1.wrs.com (128.224.56.98) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.408.0; Fri, 7 Dec 2018 12:14:07 -0800 From: Paul Gortmaker To: Lee Jones CC: , Paul Gortmaker , Alessandro Rubini , Davide Ciminaghi Subject: [PATCH 08/18] mfd: sta2x11: drop unused MODULE_ tags from non-modular code Date: Fri, 7 Dec 2018 15:10:55 -0500 Message-ID: <1544213465-16259-9-git-send-email-paul.gortmaker@windriver.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> References: <1544213465-16259-1-git-send-email-paul.gortmaker@windriver.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Kconfig currently controlling compilation of this code is: drivers/mfd/Kconfig:config MFD_STA2X11 drivers/mfd/Kconfig: bool "STMicroelectronics STA2X11" ...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. We delete the MODULE_LICENSE tag etc. since all that information is already contained at the top of the file in the comments. Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code. We replace module.h with init.h and export.h ; the latter since the file does export some symbols. Cc: Lee Jones Cc: Alessandro Rubini Cc: Davide Ciminaghi Acked-by: Alessandro Rubini Acked-by: Davide Ciminaghi Acked-by: Linus Walleij Signed-off-by: Paul Gortmaker --- drivers/mfd/sta2x11-mfd.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/sta2x11-mfd.c b/drivers/mfd/sta2x11-mfd.c index 3aeafa228baf..cab9aabcaa1f 100644 --- a/drivers/mfd/sta2x11-mfd.c +++ b/drivers/mfd/sta2x11-mfd.c @@ -1,4 +1,6 @@ /* + * STA2x11 mfd for GPIO, SCTL and APBREG + * * Copyright (c) 2009-2011 Wind River Systems, Inc. * Copyright (c) 2011 ST Microelectronics (Alessandro Rubini, Davide Ciminaghi) * @@ -18,7 +20,8 @@ */ #include -#include +#include +#include #include #include #include @@ -653,8 +656,3 @@ static int __init sta2x11_mfd_init(void) */ subsys_initcall(sta2x11_drivers_init); rootfs_initcall(sta2x11_mfd_init); - -MODULE_LICENSE("GPL v2"); -MODULE_AUTHOR("Wind River"); -MODULE_DESCRIPTION("STA2x11 mfd for GPIO, SCTL and APBREG"); -MODULE_DEVICE_TABLE(pci, sta2x11_mfd_tbl); -- 2.7.4