diff mbox series

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

Message ID 20231129-descriptors-sound-cirrus-v1-7-31aa74425ff8@linaro.org
State Superseded
Headers show
Series ASoC: Convert Cirrus codecs to GPIO descriptors | expand

Commit Message

Linus Walleij Nov. 29, 2023, 9:28 p.m. UTC
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@linaro.org>
---
 sound/soc/cirrus/edb93xx.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexander Sverdlin Nov. 29, 2023, 10:35 p.m. UTC | #1
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@linaro.org>

Reviewed-by: Alexander Sverdlin <alexander.sverdlin@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>
diff mbox series

Patch

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>