pwm: jz4740: Drop unused include
Subsystems (3)
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
@@ -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
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.Signed-off-by Andy Shevchenko <[email protected]>
Cheers,
-Paul
Quoted 16 lines
---
drivers/pwm/pwm-jz4740.c | 1 -1 file changed, 1 deletion(-)drivers/pwm/pwm-jz4740.c +0
-0@@ -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>
Uwe Kleine-König
maintainerHello Andy,
Quoted 4 lines · Andy Shevchenko
This driver includes the legacy header <
linux/gpio.h> but does not use any symbols from it. Drop the inclusion.Signed-off-by Andy Shevchenko <[email protected]>
Applied with Paul's ack to
https://git.kernel.org/pub/scm/linux/kernel/git/ukleinek/linux.git pwm/for-next
.
Thanks
Uwe