diff mbox series

[v2,6/7] ASoC: max98520: Drop pointless includes

Message ID 20230911-descriptors-asoc-max-v2-6-b9d793fb768e@linaro.org (mailing list archive)
State Accepted
Commit 0d22f950eb6a0a177826f9cc4f2fc0aa1b560228
Headers show
Series ASoC: Convert some Maxim codecs to use GPIO descriptors | expand

Commit Message

Linus Walleij Sept. 11, 2023, 8:23 a.m. UTC
This driver is already using solely GPIO descriptors and
do not need to include the legacy headers <linux/gpio.h>
or <linux/of_gpio.h>. Drop them.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 sound/soc/codecs/max98520.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/max98520.c b/sound/soc/codecs/max98520.c
index 8637fff307ad..edd05253d37c 100644
--- a/sound/soc/codecs/max98520.c
+++ b/sound/soc/codecs/max98520.c
@@ -11,10 +11,8 @@ 
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
 #include <sound/soc.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/of.h>
-#include <linux/of_gpio.h>
 #include <sound/tlv.h>
 #include "max98520.h"