Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp7063480imu; Mon, 3 Dec 2018 07:12:26 -0800 (PST) X-Google-Smtp-Source: AFSGD/Ve0W7/rfol6kH1EC/oN/rK7qaCCHcEr/tb9wyAz7H7ssEkeL8HV0dPRWqf6FTyD+mLTB4o X-Received: by 2002:a63:1e56:: with SMTP id p22mr3652827pgm.126.1543849946078; Mon, 03 Dec 2018 07:12:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543849946; cv=none; d=google.com; s=arc-20160816; b=I1MobK1e2GsAY5VvZ7LdR6ocjYcV8rlhg7qWYjyKN+nhgWyxPC7UQV4B8zSic+oGKO nbfqOz1qMmQ9WryDftLM7xyOPwx06AKUosazSH3v16BOCTzPTHdhQCHyGe09/EC3CabE hutdbZytU8grgqia9nq5zOchrGXTiPzyE0mtr0RQdTDNEaSFmmVxPDdRZvFVL4htga56 70+Hw9ZZ0c/fYNynVaL02nywB6mf9ZD1eTNKLxqZvibF5XDVvqVNvniF/BstV8BQASqU EEYv/KWqRfVqODGed1E4A6EHQJd0pgj3+VDXHLJMZt8c3O0t1Va+KLoJ/7cCAAhbE5Pq 0Giw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=EdrZCWoP7EyxbsYXOVzIN2IMZovzR0KoOz8zMUwEDLw=; b=DUjoSDWWl6VW3T8dNHRN/suFlLgPnN37znoVAqW+fporKGB+8/7xsYYMpL9PuL87Vy iWZOaNe76gJ3d/5tNwHDiL+M+BgJzud61zhsgoviABeoyQEGOvS9bmHCwCFhZl/uXwVY 7d5GneJV5x8IdMfdGWJZluHy7dZm+oX9647pDYtE/YVlSwndr1U5huUEW2yJ17GY4FU5 WHejdlKL7QS1uHHkmpPfqkIzks4InSDOUopW9tQttfTM/HkV179SHkw7waBHtstxcZ54 9n3B1trCTqZFma37Inq+3cql1sHu6yAo6Y0+N7uWn944RV7fTPctQN79MCo7zuE0spAH FOdQ== 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 92si14096178plw.158.2018.12.03.07.12.06; Mon, 03 Dec 2018 07:12:26 -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 S1726669AbeLCPJS (ORCPT + 99 others); Mon, 3 Dec 2018 10:09:18 -0500 Received: from mail5.windriver.com ([192.103.53.11]:33078 "EHLO mail5.wrs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726116AbeLCPJS (ORCPT ); Mon, 3 Dec 2018 10:09:18 -0500 Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id wB3F8DFC001748 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 3 Dec 2018 07:08:24 -0800 Received: from yow-pgortmak-d1.corp.ad.wrs.com (128.224.56.57) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.408.0; Mon, 3 Dec 2018 07:07:57 -0800 Received: by yow-pgortmak-d1.corp.ad.wrs.com (Postfix, from userid 1000) id EA5802E0818; Mon, 3 Dec 2018 10:07:56 -0500 (EST) Date: Mon, 3 Dec 2018 10:07:56 -0500 From: Paul Gortmaker To: Lee Jones CC: , Alessandro Rubini , Davide Ciminaghi Subject: Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code Message-ID: <20181203150756.GA23156@windriver.com> References: <1543811009-15112-1-git-send-email-paul.gortmaker@windriver.com> <1543811009-15112-13-git-send-email-paul.gortmaker@windriver.com> <20181203111442.GK26661@dell> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20181203111442.GK26661@dell> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Re: [PATCH 12/22] mfd: sta2x11: drop unused MODULE_ tags from non-modular code] On 03/12/2018 (Mon 11:14) Lee Jones wrote: > On Sun, 02 Dec 2018, Paul Gortmaker wrote: > > > 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. [...] > > Cc: Lee Jones > > I think you should add some of the driver developers. Fair point, but note that get_maintainers doesn't list any developers, and neither of the driver authors put an e-mail address in the driver. $ gm drivers/mfd/sta2x11-mfd.c ------------------------------------------------------ Lee Jones (supporter:MULTIFUNCTION DEVICES (MFD)) linux-kernel@vger.kernel.org (open list) ------------------------------------------------------ Cc: Lee Jones Cc: linux-kernel@vger.kernel.org ------------------------------------------------------ $ Looking in git history, I was able to find two e-mail, but one hasn't been used in 5+ years, so hopefully it is still active. I have added both to the Cc: of this e-mail and added them to the commit below. Alessandro, Davide - you can find additional context regarding why we are making these changes in the [00/22] e-mail that can be found here: https://lore.kernel.org/lkml/1543811009-15112-1-git-send-email-paul.gortmaker@windriver.com/ Thanks, Paul. -- From 34742ffbf343abca07f9d0d680ebfebaedd993c9 Mon Sep 17 00:00:00 2001 From: Paul Gortmaker Date: Wed, 6 Jul 2016 16:46:39 -0400 Subject: [PATCH] mfd: sta2x11: drop unused MODULE_ tags from non-modular code 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 Signed-off-by: Paul Gortmaker 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