Re: [PATCH v1 1/1] pwm: jz4740: Drop unused include

Paul Cercueil
2026-03-21T14:36:12Z

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@linux.intel.com>

Acked-by: Paul Cercueil <paul@crapouillou.net>

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>