Skip to contentSkip to conversation

pwm: imx-tpm: Remove unused includes

PATCH In review Anson Huang 2 participants 6 messages Feb 21, 2020 – Feb 26, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 pwm: imx-tpm: Remove unused includes

There is nothing in use from log2.h/of_address.h, remove them.

---
 drivers/pwm/pwm-imx-tpm.c | 2 --
 1 file changed, 2 deletions(-)
drivers/pwm/pwm-imx-tpm.c +0 -2
index 9145f61..5f3d7f7 100644
@@ -18,10 +18,8 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/io.h>
-#include <linux/log2.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>
Signature · 1 line
2.7.4
#1 lore raw

PATCH 2/3 pwm: imx27: Remove unused include of of_device.h

There is nothing in use from of_device.h, remove it.

---
 drivers/pwm/pwm-imx27.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pwm/pwm-imx27.c +0 -1
index 35a7ac42..704c38e 100644
@@ -18,7 +18,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>
Signature · 1 line
2.7.4
Acked-by on v1 2/3
#2 lore raw

Re: [PATCH 2/3] pwm: imx27: Remove unused include of of_device.h

Quoted 12 lines · Anson Huang

There is nothing in use from of_device.h, remove it.

---
 drivers/pwm/pwm-imx27.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pwm/pwm-imx27.c +0 -0
index 35a7ac42..704c38e 100644

drivers/pwm/pwm-imx27.c line 23

Quoted 7 lines
drivers/pwm/pwm-imx27.c +0 -1
@@ -18,7 +18,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_device.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
#3 lore raw

PATCH 3/3 pwm: mxs: Remove unused include of of_address.h

In reply to Anson Huang

There is nothing in use from of_address.h, remove it.

---
 drivers/pwm/pwm-mxs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pwm/pwm-mxs.c +0 -1
index f2e57fc..7ce6169 100644
@@ -9,7 +9,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>
Signature · 1 line
2.7.4
Acked-by on v1 3/3
#4 lore raw

Re: [PATCH 3/3] pwm: mxs: Remove unused include of of_address.h

Hello,

Quoted 12 lines · Anson Huang

There is nothing in use from of_address.h, remove it.

---
 drivers/pwm/pwm-mxs.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pwm/pwm-mxs.c +0 -0
index f2e57fc..7ce6169 100644

drivers/pwm/pwm-mxs.c line 14

Quoted 7 lines
drivers/pwm/pwm-mxs.c +0 -1
@@ -9,7 +9,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>

Thanks
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |
Acked-by on v1 1/3
#5 lore raw
In reply to Anson Huang
Quoted 12 lines · Anson Huang

There is nothing in use from log2.h/of_address.h, remove them.

---
 drivers/pwm/pwm-imx-tpm.c | 2 --
 1 file changed, 2 deletions(-)
drivers/pwm/pwm-imx-tpm.c +0 -0
index 9145f61..5f3d7f7 100644

drivers/pwm/pwm-imx-tpm.c line 25

Quoted 10 lines
drivers/pwm/pwm-imx-tpm.c +0 -2
@@ -18,10 +18,8 @@
 #include <linux/clk.h>
 #include <linux/err.h>
 #include <linux/io.h>
-#include <linux/log2.h>
 #include <linux/module.h>
 #include <linux/of.h>
-#include <linux/of_address.h>
 #include <linux/platform_device.h>
 #include <linux/pwm.h>
 #include <linux/slab.h>

Best regards
Uwe

Signature · 2 lines
Pengutronix e.K.                           | Uwe Kleine-König            |
Industrial Linux Solutions                 | https://www.pengutronix.de/ |