* [PATCH] gpio: etraxfs: use builtin_platform_driver
[not found] <7746cfe83ca3e96ccdf503669db3ace0e3081b7f.1479455552.git.geliangtang@gmail.com>
@ 2016-11-18 14:12 ` Geliang Tang
2016-11-22 9:14 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] gpio: mb86s7x: " Geliang Tang
` (2 subsequent siblings)
3 siblings, 1 reply; 9+ messages in thread
From: Geliang Tang @ 2016-11-18 14:12 UTC (permalink / raw)
To: Linus Walleij, Alexandre Courbot; +Cc: Geliang Tang, linux-gpio, linux-kernel
Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
drivers/gpio/gpio-etraxfs.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/gpio/gpio-etraxfs.c b/drivers/gpio/gpio-etraxfs.c
index 00b022c..a254d5b 100644
--- a/drivers/gpio/gpio-etraxfs.c
+++ b/drivers/gpio/gpio-etraxfs.c
@@ -471,9 +471,4 @@ static struct platform_driver etraxfs_gpio_driver = {
.probe = etraxfs_gpio_probe,
};
-static int __init etraxfs_gpio_init(void)
-{
- return platform_driver_register(&etraxfs_gpio_driver);
-}
-
-device_initcall(etraxfs_gpio_init);
+builtin_platform_driver(etraxfs_gpio_driver);
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] gpio: mb86s7x: use builtin_platform_driver
[not found] <7746cfe83ca3e96ccdf503669db3ace0e3081b7f.1479455552.git.geliangtang@gmail.com>
2016-11-18 14:12 ` [PATCH] gpio: etraxfs: use builtin_platform_driver Geliang Tang
@ 2016-11-18 14:12 ` Geliang Tang
2016-11-22 9:16 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] pinctrl: mediatek: " Geliang Tang
2016-11-18 14:12 ` [PATCH] pinctrl: stm32: " Geliang Tang
3 siblings, 1 reply; 9+ messages in thread
From: Geliang Tang @ 2016-11-18 14:12 UTC (permalink / raw)
To: Linus Walleij, Alexandre Courbot; +Cc: Geliang Tang, linux-gpio, linux-kernel
Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
drivers/gpio/gpio-mb86s7x.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/gpio/gpio-mb86s7x.c b/drivers/gpio/gpio-mb86s7x.c
index d55af50..ffb73f6 100644
--- a/drivers/gpio/gpio-mb86s7x.c
+++ b/drivers/gpio/gpio-mb86s7x.c
@@ -217,8 +217,4 @@ static struct platform_driver mb86s70_gpio_driver = {
.remove = mb86s70_gpio_remove,
};
-static int __init mb86s70_gpio_init(void)
-{
- return platform_driver_register(&mb86s70_gpio_driver);
-}
-device_initcall(mb86s70_gpio_init);
+builtin_platform_driver(mb86s70_gpio_driver);
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] pinctrl: mediatek: use builtin_platform_driver
[not found] <7746cfe83ca3e96ccdf503669db3ace0e3081b7f.1479455552.git.geliangtang@gmail.com>
2016-11-18 14:12 ` [PATCH] gpio: etraxfs: use builtin_platform_driver Geliang Tang
2016-11-18 14:12 ` [PATCH] gpio: mb86s7x: " Geliang Tang
@ 2016-11-18 14:12 ` Geliang Tang
[not found] ` <70fcc58b7e9219a9fbe3695df927041b8234dd08.1479457060.git.geliangtang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-22 9:19 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] pinctrl: stm32: " Geliang Tang
3 siblings, 2 replies; 9+ messages in thread
From: Geliang Tang @ 2016-11-18 14:12 UTC (permalink / raw)
To: Linus Walleij, Matthias Brugger, Hongzhou Yang, Paul Gortmaker
Cc: Geliang Tang, linux-gpio, linux-kernel, linux-arm-kernel,
linux-mediatek
Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
drivers/pinctrl/mediatek/pinctrl-mt6397.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6397.c b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
index 6eccb85..afcede7 100644
--- a/drivers/pinctrl/mediatek/pinctrl-mt6397.c
+++ b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
@@ -64,8 +64,4 @@ static struct platform_driver mtk_pinctrl_driver = {
},
};
-static int __init mtk_pinctrl_init(void)
-{
- return platform_driver_register(&mtk_pinctrl_driver);
-}
-device_initcall(mtk_pinctrl_init);
+builtin_platform_driver(mtk_pinctrl_driver);
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [PATCH] pinctrl: stm32: use builtin_platform_driver
[not found] <7746cfe83ca3e96ccdf503669db3ace0e3081b7f.1479455552.git.geliangtang@gmail.com>
` (2 preceding siblings ...)
2016-11-18 14:12 ` [PATCH] pinctrl: mediatek: " Geliang Tang
@ 2016-11-18 14:12 ` Geliang Tang
2016-11-22 8:58 ` Linus Walleij
3 siblings, 1 reply; 9+ messages in thread
From: Geliang Tang @ 2016-11-18 14:12 UTC (permalink / raw)
To: Linus Walleij, Maxime Coquelin, Alexandre Torgue, Patrice Chotard,
Paul Gortmaker
Cc: Geliang Tang, linux-gpio, linux-arm-kernel, linux-kernel
Use builtin_platform_driver() helper to simplify the code.
Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
drivers/pinctrl/stm32/pinctrl-stm32f429.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32f429.c b/drivers/pinctrl/stm32/pinctrl-stm32f429.c
index e9b15dc..990b867 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32f429.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32f429.c
@@ -1584,8 +1584,4 @@ static struct platform_driver stm32f429_pinctrl_driver = {
},
};
-static int __init stm32f429_pinctrl_init(void)
-{
- return platform_driver_register(&stm32f429_pinctrl_driver);
-}
-device_initcall(stm32f429_pinctrl_init);
+builtin_platform_driver(stm32f429_pinctrl_driver);
--
2.9.3
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH] pinctrl: mediatek: use builtin_platform_driver
[not found] ` <70fcc58b7e9219a9fbe3695df927041b8234dd08.1479457060.git.geliangtang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-11-18 23:53 ` Hongzhou Yang
0 siblings, 0 replies; 9+ messages in thread
From: Hongzhou Yang @ 2016-11-18 23:53 UTC (permalink / raw)
To: Geliang Tang
Cc: linux-gpio-u79uwXL29TY76Z2rM5mHXA, Linus Walleij,
linux-kernel-u79uwXL29TY76Z2rM5mHXA, Paul Gortmaker,
linux-mediatek-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r, Matthias Brugger,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r
On Fri, 2016-11-18 at 22:12 +0800, Geliang Tang wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> ---
> drivers/pinctrl/mediatek/pinctrl-mt6397.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> diff --git a/drivers/pinctrl/mediatek/pinctrl-mt6397.c b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
> index 6eccb85..afcede7 100644
> --- a/drivers/pinctrl/mediatek/pinctrl-mt6397.c
> +++ b/drivers/pinctrl/mediatek/pinctrl-mt6397.c
> @@ -64,8 +64,4 @@ static struct platform_driver mtk_pinctrl_driver = {
> },
> };
>
> -static int __init mtk_pinctrl_init(void)
> -{
> - return platform_driver_register(&mtk_pinctrl_driver);
> -}
> -device_initcall(mtk_pinctrl_init);
> +builtin_platform_driver(mtk_pinctrl_driver);
Acked-by: Hongzhou Yang <hongzhou.yang-NuS5LvNUpcJWk0Htik3J/w@public.gmane.org>
Thanks,
Hongzhou
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] pinctrl: stm32: use builtin_platform_driver
2016-11-18 14:12 ` [PATCH] pinctrl: stm32: " Geliang Tang
@ 2016-11-22 8:58 ` Linus Walleij
0 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2016-11-22 8:58 UTC (permalink / raw)
To: Geliang Tang
Cc: Maxime Coquelin, Alexandre Torgue, Patrice Chotard,
Paul Gortmaker, linux-gpio@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
On Fri, Nov 18, 2016 at 3:12 PM, Geliang Tang <geliangtang@gmail.com> wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] gpio: etraxfs: use builtin_platform_driver
2016-11-18 14:12 ` [PATCH] gpio: etraxfs: use builtin_platform_driver Geliang Tang
@ 2016-11-22 9:14 ` Linus Walleij
0 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2016-11-22 9:14 UTC (permalink / raw)
To: Geliang Tang, Rabin Vincent
Cc: Alexandre Courbot, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org
On Fri, Nov 18, 2016 at 3:12 PM, Geliang Tang <geliangtang@gmail.com> wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] gpio: mb86s7x: use builtin_platform_driver
2016-11-18 14:12 ` [PATCH] gpio: mb86s7x: " Geliang Tang
@ 2016-11-22 9:16 ` Linus Walleij
0 siblings, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2016-11-22 9:16 UTC (permalink / raw)
To: Geliang Tang
Cc: Alexandre Courbot, linux-gpio@vger.kernel.org,
linux-kernel@vger.kernel.org
On Fri, Nov 18, 2016 at 3:12 PM, Geliang Tang <geliangtang@gmail.com> wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Patch applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH] pinctrl: mediatek: use builtin_platform_driver
2016-11-18 14:12 ` [PATCH] pinctrl: mediatek: " Geliang Tang
[not found] ` <70fcc58b7e9219a9fbe3695df927041b8234dd08.1479457060.git.geliangtang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2016-11-22 9:19 ` Linus Walleij
1 sibling, 0 replies; 9+ messages in thread
From: Linus Walleij @ 2016-11-22 9:19 UTC (permalink / raw)
To: Geliang Tang
Cc: Matthias Brugger, Hongzhou Yang, Paul Gortmaker,
linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
moderated list:ARM/Mediatek SoC support
On Fri, Nov 18, 2016 at 3:12 PM, Geliang Tang <geliangtang@gmail.com> wrote:
> Use builtin_platform_driver() helper to simplify the code.
>
> Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Patch applied with Hongzhou's ACK.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-11-22 9:19 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <7746cfe83ca3e96ccdf503669db3ace0e3081b7f.1479455552.git.geliangtang@gmail.com>
2016-11-18 14:12 ` [PATCH] gpio: etraxfs: use builtin_platform_driver Geliang Tang
2016-11-22 9:14 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] gpio: mb86s7x: " Geliang Tang
2016-11-22 9:16 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] pinctrl: mediatek: " Geliang Tang
[not found] ` <70fcc58b7e9219a9fbe3695df927041b8234dd08.1479457060.git.geliangtang-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-11-18 23:53 ` Hongzhou Yang
2016-11-22 9:19 ` Linus Walleij
2016-11-18 14:12 ` [PATCH] pinctrl: stm32: " Geliang Tang
2016-11-22 8:58 ` 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).