diff mbox series

[10/14] ASoC: rt5645: Drop legacy GPIO include

Message ID 20230812-descriptors-asoc-v1-10-eb4dca1f68af@linaro.org
State Accepted
Commit 92f1b48277f2fdaa9649630dc9a8ec298bfd6def
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/rt5645.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index acc7fb1581b2..1a28fb541255 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -14,7 +14,6 @@ 
 #include <linux/i2c.h>
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/acpi.h>
 #include <linux/dmi.h>