diff mbox series

[11/14] ASoC: rt5659: Drop legacy GPIO include

Message ID 20230812-descriptors-asoc-v1-11-eb4dca1f68af@linaro.org (mailing list archive)
State Accepted
Commit 0b759f3b3faa51022752bc4a99ae1af57baf344f
Headers show
Series ASoC: rt: Drop unused GPIO includes | expand

Commit Message

Linus Walleij Aug. 12, 2023, 7:56 p.m. UTC
This driver include the GPIO legacy header <linux/gpio.h> yet
doesn't use symbols from it. It is using the new consumer
include <linux/gpio/consumer.h> already. Drop the surplus
include.

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

Patch

diff --git a/sound/soc/codecs/rt5659.c b/sound/soc/codecs/rt5659.c
index df6f0d769bbd..a061028a16d8 100644
--- a/sound/soc/codecs/rt5659.c
+++ b/sound/soc/codecs/rt5659.c
@@ -16,7 +16,6 @@ 
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>
 #include <linux/acpi.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <sound/core.h>
 #include <sound/pcm.h>