Re: [PATCH v1 1/1] pwm: jz4740: Drop unused include
From: Paul Cercueil
Date: Sat Mar 21 2026 - 10:36:39 EST
Le vendredi 20 mars 2026 à 23:06 +0100, Andy Shevchenko a écrit :
> 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 <andriy.shevchenko@xxxxxxxxxxxxxxx>
Acked-by: Paul Cercueil <paul@xxxxxxxxxxxxxxx>
Cheers,
-Paul
> ---
> drivers/pwm/pwm-jz4740.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pwm/pwm-jz4740.c b/drivers/pwm/pwm-jz4740.c
> index 6bdb01619380..e0b5966fc7fe 100644
> --- a/drivers/pwm/pwm-jz4740.c
> +++ b/drivers/pwm/pwm-jz4740.c
> @@ -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>