[PATCH 07/10] ASoC: cirrus: edb93xx: Drop legacy include

Alexander Sverdlin alexander.sverdlin at gmail.com
Wed Nov 29 14:35:24 PST 2023


Hi Linus,

On Wed, 2023-11-29 at 22:28 +0100, Linus Walleij wrote:
> This driver includes the legacy GPIO API <linux/gpio.h> but
> does not use any symbols from it.
> 
> Drop the include.
> 
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Reviewed-by: Alexander Sverdlin <alexander.sverdlin at gmail.com>

This file is going away as well at some point,
Link: https://patchwork.kernel.org/project/alsa-devel/patch/20231122-ep93xx-v5-38-d59a76d5df29@maquefel.me/

> ---
>  sound/soc/cirrus/edb93xx.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/cirrus/edb93xx.c b/sound/soc/cirrus/edb93xx.c
> index 6b6817256331..8bb67d7d2b4b 100644
> --- a/sound/soc/cirrus/edb93xx.c
> +++ b/sound/soc/cirrus/edb93xx.c
> @@ -11,7 +11,6 @@
>   */
>  
>  #include <linux/platform_device.h>
> -#include <linux/gpio.h>
>  #include <linux/module.h>
>  #include <linux/soc/cirrus/ep93xx.h>
>  #include <sound/core.h>

-- 
Alexander Sverdlin.




More information about the linux-arm-kernel mailing list