* [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
@ 2016-08-08 13:55 ` Wei Yongjun
0 siblings, 0 replies; 6+ messages in thread
From: Wei Yongjun @ 2016-08-08 13:55 UTC (permalink / raw)
To: linus-amlogic
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
---
drivers/clk/meson/gxbb.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 8e36d22..b736277 100644
--- a/drivers/clk/meson/gxbb.c
+++ b/drivers/clk/meson/gxbb.c
@@ -946,8 +946,4 @@ static struct platform_driver gxbb_driver = {
},
};
-static int __init gxbb_clkc_init(void)
-{
- return platform_driver_register(&gxbb_driver);
-}
-device_initcall(gxbb_clkc_init);
+builtin_platform_driver(gxbb_driver);
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
@ 2016-08-08 13:55 ` Wei Yongjun
0 siblings, 0 replies; 6+ messages in thread
From: Wei Yongjun @ 2016-08-08 13:55 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Carlo Caione, Kevin Hilman,
Paul Gortmaker
Cc: Wei Yongjun, linux-clk, linux-arm-kernel, linux-amlogic
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
---
drivers/clk/meson/gxbb.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 8e36d22..b736277 100644
--- a/drivers/clk/meson/gxbb.c
+++ b/drivers/clk/meson/gxbb.c
@@ -946,8 +946,4 @@ static struct platform_driver gxbb_driver = {
},
};
-static int __init gxbb_clkc_init(void)
-{
- return platform_driver_register(&gxbb_driver);
-}
-device_initcall(gxbb_clkc_init);
+builtin_platform_driver(gxbb_driver);
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
@ 2016-08-08 13:55 ` Wei Yongjun
0 siblings, 0 replies; 6+ messages in thread
From: Wei Yongjun @ 2016-08-08 13:55 UTC (permalink / raw)
To: linux-arm-kernel
Use the builtin_platform_driver() macro to make the code simpler.
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
---
drivers/clk/meson/gxbb.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/drivers/clk/meson/gxbb.c b/drivers/clk/meson/gxbb.c
index 8e36d22..b736277 100644
--- a/drivers/clk/meson/gxbb.c
+++ b/drivers/clk/meson/gxbb.c
@@ -946,8 +946,4 @@ static struct platform_driver gxbb_driver = {
},
};
-static int __init gxbb_clkc_init(void)
-{
- return platform_driver_register(&gxbb_driver);
-}
-device_initcall(gxbb_clkc_init);
+builtin_platform_driver(gxbb_driver);
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
2016-08-08 13:55 ` Wei Yongjun
(?)
@ 2016-08-15 21:29 ` Stephen Boyd
-1 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2016-08-15 21:29 UTC (permalink / raw)
To: linus-amlogic
On 08/08, Wei Yongjun wrote:
> Use the builtin_platform_driver() macro to make the code simpler.
>
> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
@ 2016-08-15 21:29 ` Stephen Boyd
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2016-08-15 21:29 UTC (permalink / raw)
To: Wei Yongjun
Cc: Michael Turquette, Carlo Caione, Kevin Hilman, Paul Gortmaker,
linux-clk, linux-arm-kernel, linux-amlogic
On 08/08, Wei Yongjun wrote:
> Use the builtin_platform_driver() macro to make the code simpler.
>
> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code
@ 2016-08-15 21:29 ` Stephen Boyd
0 siblings, 0 replies; 6+ messages in thread
From: Stephen Boyd @ 2016-08-15 21:29 UTC (permalink / raw)
To: linux-arm-kernel
On 08/08, Wei Yongjun wrote:
> Use the builtin_platform_driver() macro to make the code simpler.
>
> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
> ---
Applied to clk-next
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-08-15 21:29 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-08 13:55 [PATCH -next] clk: gxbb: use builtin_platform_driver to simplify the code Wei Yongjun
2016-08-08 13:55 ` Wei Yongjun
2016-08-08 13:55 ` Wei Yongjun
2016-08-15 21:29 ` Stephen Boyd
2016-08-15 21:29 ` Stephen Boyd
2016-08-15 21:29 ` Stephen Boyd
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.