[PATCH] pwm: atmel: drop unused header

Nicolas Ferre nicolas.ferre at microchip.com
Mon Jan 30 09:29:34 PST 2023


Thierry,

On 09/09/2021 at 10:09, Uwe Kleine-König wrote:
> Since commit 52eaba4cedbd ("pwm: atmel: Rework tracking updates pending
> in hardware") the driver doesn't make use of mutexes any more, so the
> header defining these doesn't need to be included.
> 
> Signed-off-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>

It looks like this (trivial) patch was forgotten for some time even if 
Acked by several of us: aka ping.

> ---
>   drivers/pwm/pwm-atmel.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/pwm/pwm-atmel.c b/drivers/pwm/pwm-atmel.c
> index e748604403cc..98b34ea9f38e 100644
> --- a/drivers/pwm/pwm-atmel.c
> +++ b/drivers/pwm/pwm-atmel.c
> @@ -24,7 +24,6 @@
>   #include <linux/err.h>
>   #include <linux/io.h>
>   #include <linux/module.h>
> -#include <linux/mutex.h>
>   #include <linux/of.h>
>   #include <linux/of_device.h>
>   #include <linux/platform_device.h>
> --
> 2.30.2
> 

-- 
Nicolas Ferre




More information about the linux-arm-kernel mailing list