linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] pinctrl: trivial demodularization of builtin code
@ 2016-08-23 21:19 Paul Gortmaker
  2016-08-23 21:19 ` [PATCH 1/6] pinctrl: mediatek: make mtk-common explicitly non-modular Paul Gortmaker
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Alessandro Rubini, Barry Song, Heiko Stuebner,
	Hongzhou Yang, Linus Walleij, Patrice Chotard, Rongjun Ying,
	Yuping Luo, linux-gpio, linux-rockchip

This list of changes represents pinctrl drivers that use MODULE_<xyz>
tags but otherwise don't make use of any other module_<xyz> functions
or macros.

Since the former are no-ops when built-in, we simply remove these
MODULE_<xyz> tags and the module.h include that provides them, while
ensuring the information in the tag is properly represented in the
file at the comments at the top or similar.

Since these tags are no-ops, and we don't remove any orphaned fcns
for __exit or .remove support here, the drivers are binary equivalent
before and after this change -- i.e. zero runtime regression risk.

Paul.
---

Cc: Alessandro Rubini <rubini@unipv.it>
Cc: Barry Song <baohua@kernel.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: Rongjun Ying <rongjun.ying@csr.com>
Cc: Yuping Luo <yuping.luo@csr.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org

Paul Gortmaker (6):
  pinctrl: mediatek: make mtk-common explicitly non-modular
  pinctrl: nomadik: make abx500 explicitly non-modular
  pinctrl: nomadik: make core support explicitly non-modular
  pinctrl: rockchip: make it explicitly non-modular
  pinctrl: sirf: make atlas7 explicitly non-modular
  pinctrl: sirf: make core support explicitly non-modular

 drivers/pinctrl/mediatek/pinctrl-mtk-common.c |  5 -----
 drivers/pinctrl/nomadik/pinctrl-abx500.c      |  8 ++------
 drivers/pinctrl/nomadik/pinctrl-nomadik.c     |  5 -----
 drivers/pinctrl/pinctrl-rockchip.c            |  7 +------
 drivers/pinctrl/sirf/pinctrl-atlas7.c         |  5 +----
 drivers/pinctrl/sirf/pinctrl-sirf.c           | 12 +++++-------
 6 files changed, 9 insertions(+), 33 deletions(-)

-- 
2.8.4

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [PATCH 1/6] pinctrl: mediatek: make mtk-common explicitly non-modular
  2016-08-23 21:19 [PATCH 0/6] pinctrl: trivial demodularization of builtin code Paul Gortmaker
@ 2016-08-23 21:19 ` Paul Gortmaker
  2016-08-27 11:12   ` Linus Walleij
  2016-08-23 21:19 ` [PATCH 2/6] pinctrl: nomadik: make abx500 " Paul Gortmaker
                   ` (4 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Linus Walleij, Hongzhou Yang, linux-gpio

The Makefile currently controlling compilation of this code is:

  drivers/pinctrl/mediatek/pinctrl-mtk-common.o
    ---> drivers/pinctrl/mediatek/Makefile:obj-y += pinctrl-mtk-common.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 delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

We don't replace module.h with init.h since the file doesn't need that.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
index ce554e0d6979..ba2b03dbfe3b 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mtk-common.c
@@ -15,7 +15,6 @@
 
 #include <linux/io.h>
 #include <linux/gpio/driver.h>
-#include <linux/module.h>
 #include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/of_device.h>
@@ -1496,7 +1495,3 @@ chip_error:
 	gpiochip_remove(pctl->chip);
 	return ret;
 }
-
-MODULE_LICENSE("GPL");
-MODULE_DESCRIPTION("MediaTek Pinctrl Driver");
-MODULE_AUTHOR("Hongzhou Yang <hongzhou.yang@mediatek.com>");
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 2/6] pinctrl: nomadik: make abx500 explicitly non-modular
  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-23 21:19 ` Paul Gortmaker
  2016-08-27 11:13   ` Linus Walleij
  2016-08-23 21:19 ` [PATCH 3/6] pinctrl: nomadik: make core support " Paul Gortmaker
                   ` (3 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Linus Walleij, Alessandro Rubini,
	Patrice Chotard, linux-gpio

The Kconfig currently controlling compilation of this code is:

 config PINCTRL_ABX500
       bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"

...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.

Note that MODULE_ALIAS is a no-op for non-modular code.

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: Alessandro Rubini <rubini@unipv.it>
Cc: Patrice Chotard <patrice.chotard@st.com>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/pinctrl/nomadik/pinctrl-abx500.c | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/drivers/pinctrl/nomadik/pinctrl-abx500.c b/drivers/pinctrl/nomadik/pinctrl-abx500.c
index 7d343c22c90c..f95001bc1d58 100644
--- a/drivers/pinctrl/nomadik/pinctrl-abx500.c
+++ b/drivers/pinctrl/nomadik/pinctrl-abx500.c
@@ -4,6 +4,8 @@
  * Author: Patrice Chotard <patrice.chotard@st.com>
  * License terms: GNU General Public License (GPL) version 2
  *
+ * Driver allows to use AxB5xx unused pins to be used as GPIO
+ *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 as
  * published by the Free Software Foundation.
@@ -12,7 +14,6 @@
 #include <linux/types.h>
 #include <linux/slab.h>
 #include <linux/init.h>
-#include <linux/module.h>
 #include <linux/err.h>
 #include <linux/of.h>
 #include <linux/of_device.h>
@@ -1269,8 +1270,3 @@ static int __init abx500_gpio_init(void)
 	return platform_driver_register(&abx500_gpio_driver);
 }
 core_initcall(abx500_gpio_init);
-
-MODULE_AUTHOR("Patrice Chotard <patrice.chotard@st.com>");
-MODULE_DESCRIPTION("Driver allows to use AxB5xx unused pins to be used as GPIO");
-MODULE_ALIAS("platform:abx500-gpio");
-MODULE_LICENSE("GPL v2");
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 3/6] pinctrl: nomadik: make core support explicitly non-modular
  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-23 21:19 ` [PATCH 2/6] pinctrl: nomadik: make abx500 " Paul Gortmaker
@ 2016-08-23 21:19 ` Paul Gortmaker
  2016-08-27 11:13   ` Linus Walleij
  2016-08-23 21:19 ` [PATCH 4/6] pinctrl: rockchip: make it " Paul Gortmaker
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Linus Walleij, Alessandro Rubini, linux-gpio

The Kconfig currently controlling compilation of this code is:

drivers/pinctrl/nomadik/Kconfig:config PINCTRL_NOMADIK
drivers/pinctrl/nomadik/Kconfig:        bool "Nomadik pin controller driver"

...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.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alessandro Rubini <rubini@unipv.it>
Cc: linux-gpio@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/pinctrl/nomadik/pinctrl-nomadik.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/drivers/pinctrl/nomadik/pinctrl-nomadik.c b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
index 6f2e1da11b1e..205fb399268a 100644
--- a/drivers/pinctrl/nomadik/pinctrl-nomadik.c
+++ b/drivers/pinctrl/nomadik/pinctrl-nomadik.c
@@ -11,7 +11,6 @@
  * published by the Free Software Foundation.
  */
 #include <linux/kernel.h>
-#include <linux/module.h>
 #include <linux/init.h>
 #include <linux/device.h>
 #include <linux/platform_device.h>
@@ -1983,7 +1982,3 @@ static int __init nmk_pinctrl_init(void)
 	return platform_driver_register(&nmk_pinctrl_driver);
 }
 core_initcall(nmk_pinctrl_init);
-
-MODULE_AUTHOR("Prafulla WADASKAR and Alessandro Rubini");
-MODULE_DESCRIPTION("Nomadik GPIO Driver");
-MODULE_LICENSE("GPL");
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 4/6] pinctrl: rockchip: make it explicitly non-modular
  2016-08-23 21:19 [PATCH 0/6] pinctrl: trivial demodularization of builtin code Paul Gortmaker
                   ` (2 preceding siblings ...)
  2016-08-23 21:19 ` [PATCH 3/6] pinctrl: nomadik: make core support " Paul Gortmaker
@ 2016-08-23 21:19 ` 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-23 21:19 ` [PATCH 6/6] pinctrl: sirf: make core support " Paul Gortmaker
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Linus Walleij, Heiko Stuebner, linux-gpio,
	linux-rockchip

The Kconfig currently controlling compilation of this code is:

drivers/pinctrl/Kconfig:config PINCTRL_ROCKCHIP
drivers/pinctrl/Kconfig:        bool

...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.

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: Linus Walleij <linus.walleij@linaro.org>
Cc: Heiko Stuebner <heiko@sntech.de>
Cc: linux-gpio@vger.kernel.org
Cc: linux-rockchip@lists.infradead.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
---
 drivers/pinctrl/pinctrl-rockchip.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-rockchip.c b/drivers/pinctrl/pinctrl-rockchip.c
index 44902c63f507..49bf7dcb7ed8 100644
--- a/drivers/pinctrl/pinctrl-rockchip.c
+++ b/drivers/pinctrl/pinctrl-rockchip.c
@@ -23,7 +23,7 @@
  * GNU General Public License for more details.
  */
 
-#include <linux/module.h>
+#include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #include <linux/bitops.h>
@@ -2704,7 +2704,6 @@ static const struct of_device_id rockchip_pinctrl_dt_match[] = {
 		.data = (void *)&rk3399_pin_ctrl },
 	{},
 };
-MODULE_DEVICE_TABLE(of, rockchip_pinctrl_dt_match);
 
 static struct platform_driver rockchip_pinctrl_driver = {
 	.probe		= rockchip_pinctrl_probe,
@@ -2720,7 +2719,3 @@ static int __init rockchip_pinctrl_drv_register(void)
 	return platform_driver_register(&rockchip_pinctrl_driver);
 }
 postcore_initcall(rockchip_pinctrl_drv_register);
-
-MODULE_AUTHOR("Heiko Stuebner <heiko@sntech.de>");
-MODULE_DESCRIPTION("Rockchip pinctrl driver");
-MODULE_LICENSE("GPL v2");
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 5/6] pinctrl: sirf: make atlas7 explicitly non-modular
  2016-08-23 21:19 [PATCH 0/6] pinctrl: trivial demodularization of builtin code Paul Gortmaker
                   ` (3 preceding siblings ...)
  2016-08-23 21:19 ` [PATCH 4/6] pinctrl: rockchip: make it " Paul Gortmaker
@ 2016-08-23 21:19 ` Paul Gortmaker
  2016-08-27 11:15   ` Linus Walleij
  2016-08-23 21:19 ` [PATCH 6/6] pinctrl: sirf: make core support " Paul Gortmaker
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: Paul Gortmaker, Linus Walleij, Barry Song, linux-gpio

The Makefile currently controlling compilation of this code is:

  drivers/pinctrl/sirf/pinctrl-atlas7.o
    ---> drivers/pinctrl/sirf/Makefile:obj-y += pinctrl-atlas7.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 delete the MODULE_LICENSE tag etc. since all that information
is already contained at the top of the file in the comments.

Cc: Linus Walleij <linus.walleij@linaro.org>
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-atlas7.c | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/drivers/pinctrl/sirf/pinctrl-atlas7.c b/drivers/pinctrl/sirf/pinctrl-atlas7.c
index 19952f73fa8c..7f3041697813 100644
--- a/drivers/pinctrl/sirf/pinctrl-atlas7.c
+++ b/drivers/pinctrl/sirf/pinctrl-atlas7.c
@@ -7,7 +7,7 @@
  * Licensed under GPLv2 or later.
  */
 
-#include <linux/module.h>
+#include <linux/init.h>
 #include <linux/platform_device.h>
 #include <linux/io.h>
 #include <linux/bitops.h>
@@ -6158,6 +6158,3 @@ static int __init atlas7_gpio_init(void)
 	return platform_driver_register(&atlas7_gpio_driver);
 }
 subsys_initcall(atlas7_gpio_init);
-
-MODULE_DESCRIPTION("SIRFSOC Atlas7 pin control driver");
-MODULE_LICENSE("GPL");
-- 
2.8.4

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [PATCH 6/6] pinctrl: sirf: make core support explicitly non-modular
  2016-08-23 21:19 [PATCH 0/6] pinctrl: trivial demodularization of builtin code Paul Gortmaker
                   ` (4 preceding siblings ...)
  2016-08-23 21:19 ` [PATCH 5/6] pinctrl: sirf: make atlas7 " Paul Gortmaker
@ 2016-08-23 21:19 ` Paul Gortmaker
  2016-08-27 11:16   ` Linus Walleij
  5 siblings, 1 reply; 13+ messages in thread
From: Paul Gortmaker @ 2016-08-23 21:19 UTC (permalink / raw)
  To: linux-kernel
  Cc: Paul Gortmaker, Linus Walleij, Rongjun Ying, Yuping Luo,
	Barry Song, linux-gpio

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

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* Re: [PATCH 1/6] pinctrl: mediatek: make mtk-common explicitly non-modular
  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
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:12 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Hongzhou Yang, linux-gpio

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> The Makefile currently controlling compilation of this code is:
>
>   drivers/pinctrl/mediatek/pinctrl-mtk-common.o
>     ---> drivers/pinctrl/mediatek/Makefile:obj-y += pinctrl-mtk-common.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 delete the MODULE_LICENSE tag etc. since all that information
> is already contained at the top of the file in the comments.
>
> We don't replace module.h with init.h since the file doesn't need that.
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Hongzhou Yang <hongzhou.yang@mediatek.com>
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 2/6] pinctrl: nomadik: make abx500 explicitly non-modular
  2016-08-23 21:19 ` [PATCH 2/6] pinctrl: nomadik: make abx500 " Paul Gortmaker
@ 2016-08-27 11:13   ` Linus Walleij
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:13 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-kernel, Alessandro Rubini, Patrice Chotard, linux-gpio

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> The Kconfig currently controlling compilation of this code is:
>
>  config PINCTRL_ABX500
>        bool "ST-Ericsson ABx500 family Mixed Signal Circuit gpio functions"
>
> ...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.
>
> Note that MODULE_ALIAS is a no-op for non-modular code.
>
> 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: Alessandro Rubini <rubini@unipv.it>
> Cc: Patrice Chotard <patrice.chotard@st.com>
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 3/6] pinctrl: nomadik: make core support explicitly non-modular
  2016-08-23 21:19 ` [PATCH 3/6] pinctrl: nomadik: make core support " Paul Gortmaker
@ 2016-08-27 11:13   ` Linus Walleij
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:13 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Alessandro Rubini, linux-gpio

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> The Kconfig currently controlling compilation of this code is:
>
> drivers/pinctrl/nomadik/Kconfig:config PINCTRL_NOMADIK
> drivers/pinctrl/nomadik/Kconfig:        bool "Nomadik pin controller driver"
>
> ...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.
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Alessandro Rubini <rubini@unipv.it>
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 4/6] pinctrl: rockchip: make it explicitly non-modular
  2016-08-23 21:19 ` [PATCH 4/6] pinctrl: rockchip: make it " Paul Gortmaker
@ 2016-08-27 11:14   ` Linus Walleij
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:14 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-kernel, Heiko Stuebner, linux-gpio, open list:ARM/Rockchip SoC...

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> The Kconfig currently controlling compilation of this code is:
>
> drivers/pinctrl/Kconfig:config PINCTRL_ROCKCHIP
> drivers/pinctrl/Kconfig:        bool
>
> ...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.
>
> 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: Linus Walleij <linus.walleij@linaro.org>
> Cc: Heiko Stuebner <heiko@sntech.de>
> Cc: linux-gpio@vger.kernel.org
> Cc: linux-rockchip@lists.infradead.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 5/6] pinctrl: sirf: make atlas7 explicitly non-modular
  2016-08-23 21:19 ` [PATCH 5/6] pinctrl: sirf: make atlas7 " Paul Gortmaker
@ 2016-08-27 11:15   ` Linus Walleij
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:15 UTC (permalink / raw)
  To: Paul Gortmaker; +Cc: linux-kernel, Barry Song, linux-gpio

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> The Makefile currently controlling compilation of this code is:
>
>   drivers/pinctrl/sirf/pinctrl-atlas7.o
>     ---> drivers/pinctrl/sirf/Makefile:obj-y += pinctrl-atlas7.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 delete the MODULE_LICENSE tag etc. since all that information
> is already contained at the top of the file in the comments.
>
> Cc: Linus Walleij <linus.walleij@linaro.org>
> Cc: Barry Song <baohua@kernel.org>
> Cc: linux-gpio@vger.kernel.org
> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

* Re: [PATCH 6/6] pinctrl: sirf: make core support explicitly non-modular
  2016-08-23 21:19 ` [PATCH 6/6] pinctrl: sirf: make core support " Paul Gortmaker
@ 2016-08-27 11:16   ` Linus Walleij
  0 siblings, 0 replies; 13+ messages in thread
From: Linus Walleij @ 2016-08-27 11:16 UTC (permalink / raw)
  To: Paul Gortmaker
  Cc: linux-kernel, Rongjun Ying, Yuping Luo, Barry Song, linux-gpio

On Tue, Aug 23, 2016 at 11:19 PM, Paul Gortmaker
<paul.gortmaker@windriver.com> wrote:

> 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>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-08-27 11:16 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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 ` [PATCH 6/6] pinctrl: sirf: make core support " Paul Gortmaker
2016-08-27 11:16   ` Linus Walleij

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).