Skip to contentSkip to conversation

pwm: jz4740: Drop unused include

PATCH In review Andy Shevchenko 3 participants 3 messages Mar 20 – Mar 21

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

PATCH 1/1 pwm: jz4740: Drop unused include

This driver includes the legacy header <linux/gpio.h> but does not use any symbols from it. Drop the inclusion.

---
 drivers/pwm/pwm-jz4740.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pwm/pwm-jz4740.c +0 -1
index 6bdb01619380..e0b5966fc7fe 100644
@@ -10,7 +10,6 @@
 
 #include <linux/clk.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/kernel.h>
 #include <linux/mfd/ingenic-tcu.h>
 #include <linux/mfd/syscon.h>
Signature · 1 line
2.50.1
maintainer Acked-by on v1 1/1
#1 lore raw

Le vendredi 20 mars 2026 à 23:06 +0100, Andy Shevchenko a écrit :

Quoted 4 lines

This driver includes the legacy header <linux/gpio.h> but does not use any symbols from it. Drop the inclusion.

Cheers,
-Paul

Quoted 16 lines

---
 drivers/pwm/pwm-jz4740.c | 1 -

 1 file changed, 1 deletion(-)
drivers/pwm/pwm-jz4740.c +0 -0
index 6bdb01619380..e0b5966fc7fe 100644
@@ -10,7 +10,6 @@


 #include <linux/clk.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/kernel.h>
 #include <linux/mfd/ingenic-tcu.h>
 #include <linux/mfd/syscon.h>