From: Paul Gortmaker <paul.gortmaker@windriver.com>
To: linux-kernel@vger.kernel.org
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>,
Linus Walleij <linus.walleij@linaro.org>,
Rongjun Ying <rongjun.ying@csr.com>,
Yuping Luo <yuping.luo@csr.com>, Barry Song <baohua@kernel.org>,
linux-gpio@vger.kernel.org
Subject: [PATCH 6/6] pinctrl: sirf: make core support explicitly non-modular
Date: Tue, 23 Aug 2016 17:19:44 -0400 [thread overview]
Message-ID: <20160823211944.18554-7-paul.gortmaker@windriver.com> (raw)
In-Reply-To: <20160823211944.18554-1-paul.gortmaker@windriver.com>
The Makefile currently controlling compilation of this code is:
drivers/pinctrl/sirf/pinctrl-sirf.o
--> drivers/pinctrl/sirf/Makefile:obj-y += pinctrl-sirf.o
...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 also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Rongjun Ying <rongjun.ying@csr.com>
Cc: Yuping Luo <yuping.luo@csr.com>
Cc: Barry Song <baohua@kernel.org>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
drivers/pinctrl/sirf/pinctrl-sirf.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c
index 762c0c9c1278..0df72be60704 100644
--- a/drivers/pinctrl/sirf/pinctrl-sirf.c
+++ b/drivers/pinctrl/sirf/pinctrl-sirf.c
@@ -1,6 +1,11 @@
/*
* pinmux driver for CSR SiRFprimaII
*
+ * Authors:
+ * Rongjun Ying <rongjun.ying@csr.com>
+ * Yuping Luo <yuping.luo@csr.com>
+ * Barry Song <baohua.song@csr.com>
+ *
* Copyright (c) 2011 - 2014 Cambridge Silicon Radio Limited, a CSR plc group
* company.
*
@@ -8,7 +13,6 @@
*/
#include <linux/init.h>
-#include <linux/module.h>
#include <linux/irq.h>
#include <linux/platform_device.h>
#include <linux/io.h>
@@ -884,9 +888,3 @@ static int __init sirfsoc_gpio_init(void)
return sirfsoc_gpio_probe(np);
}
subsys_initcall(sirfsoc_gpio_init);
-
-MODULE_AUTHOR("Rongjun Ying <rongjun.ying@csr.com>");
-MODULE_AUTHOR("Yuping Luo <yuping.luo@csr.com>");
-MODULE_AUTHOR("Barry Song <baohua.song@csr.com>");
-MODULE_DESCRIPTION("SIRFSOC pin control driver");
-MODULE_LICENSE("GPL");
--
2.8.4
next prev parent reply other threads:[~2016-08-23 21:22 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 21:19 [PATCH 0/6] pinctrl: trivial demodularization of builtin code Paul Gortmaker
2016-08-23 21:19 ` [PATCH 1/6] pinctrl: mediatek: make mtk-common explicitly non-modular Paul Gortmaker
2016-08-27 11:12 ` Linus Walleij
2016-08-23 21:19 ` [PATCH 2/6] pinctrl: nomadik: make abx500 " Paul Gortmaker
2016-08-27 11:13 ` Linus Walleij
2016-08-23 21:19 ` [PATCH 3/6] pinctrl: nomadik: make core support " Paul Gortmaker
2016-08-27 11:13 ` Linus Walleij
[not found] ` <20160823211944.18554-1-paul.gortmaker-CWA4WttNNZF54TAoqtyWWQ@public.gmane.org>
2016-08-23 21:19 ` [PATCH 4/6] pinctrl: rockchip: make it " Paul Gortmaker
2016-08-27 11:14 ` Linus Walleij
2016-08-23 21:19 ` [PATCH 5/6] pinctrl: sirf: make atlas7 " Paul Gortmaker
2016-08-27 11:15 ` Linus Walleij
2016-08-23 21:19 ` Paul Gortmaker [this message]
2016-08-27 11:16 ` [PATCH 6/6] pinctrl: sirf: make core support " Linus Walleij
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160823211944.18554-7-paul.gortmaker@windriver.com \
--to=paul.gortmaker@windriver.com \
--cc=baohua@kernel.org \
--cc=linus.walleij@linaro.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rongjun.ying@csr.com \
--cc=yuping.luo@csr.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).