linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h
@ 2020-02-18 11:03 Anson Huang
  2020-02-18 11:03 ` [PATCH 2/3] clk: imx8mm: Remove unused includes Anson Huang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Anson Huang @ 2020-02-18 11:03 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	leonard.crestez, abel.vesa, peng.fan, ping.bai, linux-clk,
	linux-arm-kernel, linux-kernel
  Cc: Linux-imx

slab.h is necessary and included indirectly by clkdev.h,
actually, there is nothing in use from clkdev.h, so just
include slab.h instead of clkdev.h.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx8mp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clk/imx/clk-imx8mp.c b/drivers/clk/imx/clk-imx8mp.c
index a16af4f..3adc8aa 100644
--- a/drivers/clk/imx/clk-imx8mp.c
+++ b/drivers/clk/imx/clk-imx8mp.c
@@ -4,13 +4,13 @@
  */
 
 #include <dt-bindings/clock/imx8mp-clock.h>
-#include <linux/clkdev.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
 #include <linux/io.h>
 #include <linux/module.h>
 #include <linux/of_address.h>
 #include <linux/platform_device.h>
+#include <linux/slab.h>
 #include <linux/types.h>
 
 #include "clk.h"
-- 
2.7.4


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

* [PATCH 2/3] clk: imx8mm: Remove unused includes
  2020-02-18 11:03 [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Anson Huang
@ 2020-02-18 11:03 ` Anson Huang
  2020-02-18 17:03   ` Stephen Boyd
  2020-02-18 11:03 ` [PATCH 3/3] clk: imx8mn: " Anson Huang
                   ` (2 subsequent siblings)
  3 siblings, 1 reply; 7+ messages in thread
From: Anson Huang @ 2020-02-18 11:03 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	leonard.crestez, abel.vesa, peng.fan, ping.bai, linux-clk,
	linux-arm-kernel, linux-kernel
  Cc: Linux-imx

There is nothing in use from init.h/of.h, remove them.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx8mm.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clk/imx/clk-imx8mm.c b/drivers/clk/imx/clk-imx8mm.c
index 2f2c240..481d20a 100644
--- a/drivers/clk/imx/clk-imx8mm.c
+++ b/drivers/clk/imx/clk-imx8mm.c
@@ -6,10 +6,8 @@
 #include <dt-bindings/clock/imx8mm-clock.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
-#include <linux/init.h>
 #include <linux/io.h>
 #include <linux/module.h>
-#include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
-- 
2.7.4


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

* [PATCH 3/3] clk: imx8mn: Remove unused includes
  2020-02-18 11:03 [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Anson Huang
  2020-02-18 11:03 ` [PATCH 2/3] clk: imx8mm: Remove unused includes Anson Huang
@ 2020-02-18 11:03 ` Anson Huang
  2020-02-18 17:03   ` Stephen Boyd
  2020-02-18 17:03 ` [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Stephen Boyd
  2020-02-19  2:19 ` Shawn Guo
  3 siblings, 1 reply; 7+ messages in thread
From: Anson Huang @ 2020-02-18 11:03 UTC (permalink / raw)
  To: mturquette, sboyd, shawnguo, s.hauer, kernel, festevam,
	leonard.crestez, abel.vesa, peng.fan, ping.bai, linux-clk,
	linux-arm-kernel, linux-kernel
  Cc: Linux-imx

There is nothing in use from init.h/of.h, remove them.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
---
 drivers/clk/imx/clk-imx8mn.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/clk/imx/clk-imx8mn.c b/drivers/clk/imx/clk-imx8mn.c
index 67b826d..fb47f86 100644
--- a/drivers/clk/imx/clk-imx8mn.c
+++ b/drivers/clk/imx/clk-imx8mn.c
@@ -6,10 +6,8 @@
 #include <dt-bindings/clock/imx8mn-clock.h>
 #include <linux/clk-provider.h>
 #include <linux/err.h>
-#include <linux/init.h>
 #include <linux/io.h>
 #include <linux/module.h>
-#include <linux/of.h>
 #include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/slab.h>
-- 
2.7.4


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

* Re: [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h
  2020-02-18 11:03 [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Anson Huang
  2020-02-18 11:03 ` [PATCH 2/3] clk: imx8mm: Remove unused includes Anson Huang
  2020-02-18 11:03 ` [PATCH 3/3] clk: imx8mn: " Anson Huang
@ 2020-02-18 17:03 ` Stephen Boyd
  2020-02-19  2:19 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2020-02-18 17:03 UTC (permalink / raw)
  To: Anson Huang, abel.vesa, festevam, kernel, leonard.crestez,
	linux-arm-kernel, linux-clk, linux-kernel, mturquette, peng.fan,
	ping.bai, s.hauer, shawnguo
  Cc: Linux-imx

Quoting Anson Huang (2020-02-18 03:03:24)
> slab.h is necessary and included indirectly by clkdev.h,
> actually, there is nothing in use from clkdev.h, so just
> include slab.h instead of clkdev.h.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH 2/3] clk: imx8mm: Remove unused includes
  2020-02-18 11:03 ` [PATCH 2/3] clk: imx8mm: Remove unused includes Anson Huang
@ 2020-02-18 17:03   ` Stephen Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2020-02-18 17:03 UTC (permalink / raw)
  To: Anson Huang, abel.vesa, festevam, kernel, leonard.crestez,
	linux-arm-kernel, linux-clk, linux-kernel, mturquette, peng.fan,
	ping.bai, s.hauer, shawnguo
  Cc: Linux-imx

Quoting Anson Huang (2020-02-18 03:03:25)
> There is nothing in use from init.h/of.h, remove them.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH 3/3] clk: imx8mn: Remove unused includes
  2020-02-18 11:03 ` [PATCH 3/3] clk: imx8mn: " Anson Huang
@ 2020-02-18 17:03   ` Stephen Boyd
  0 siblings, 0 replies; 7+ messages in thread
From: Stephen Boyd @ 2020-02-18 17:03 UTC (permalink / raw)
  To: Anson Huang, abel.vesa, festevam, kernel, leonard.crestez,
	linux-arm-kernel, linux-clk, linux-kernel, mturquette, peng.fan,
	ping.bai, s.hauer, shawnguo
  Cc: Linux-imx

Quoting Anson Huang (2020-02-18 03:03:26)
> There is nothing in use from init.h/of.h, remove them.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
> ---

Reviewed-by: Stephen Boyd <sboyd@kernel.org>

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

* Re: [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h
  2020-02-18 11:03 [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Anson Huang
                   ` (2 preceding siblings ...)
  2020-02-18 17:03 ` [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Stephen Boyd
@ 2020-02-19  2:19 ` Shawn Guo
  3 siblings, 0 replies; 7+ messages in thread
From: Shawn Guo @ 2020-02-19  2:19 UTC (permalink / raw)
  To: Anson Huang
  Cc: mturquette, sboyd, s.hauer, kernel, festevam, leonard.crestez,
	abel.vesa, peng.fan, ping.bai, linux-clk, linux-arm-kernel,
	linux-kernel, Linux-imx

On Tue, Feb 18, 2020 at 07:03:24PM +0800, Anson Huang wrote:
> slab.h is necessary and included indirectly by clkdev.h,
> actually, there is nothing in use from clkdev.h, so just
> include slab.h instead of clkdev.h.
> 
> Signed-off-by: Anson Huang <Anson.Huang@nxp.com>

Applied all, thanks.

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

end of thread, other threads:[~2020-02-19  2:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-18 11:03 [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Anson Huang
2020-02-18 11:03 ` [PATCH 2/3] clk: imx8mm: Remove unused includes Anson Huang
2020-02-18 17:03   ` Stephen Boyd
2020-02-18 11:03 ` [PATCH 3/3] clk: imx8mn: " Anson Huang
2020-02-18 17:03   ` Stephen Boyd
2020-02-18 17:03 ` [PATCH 1/3] clk: imx8mp: Include slab.h instead of clkdev.h Stephen Boyd
2020-02-19  2:19 ` Shawn Guo

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