diff mbox series

[03/14] ASoC: rt1015p: Drop legacy GPIO include

Message ID 20230812-descriptors-asoc-v1-3-eb4dca1f68af@linaro.org (mailing list archive)
State Accepted
Commit 3abc7076851f63c5d193ee9d942554f182527d18
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/rt1015p.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/sound/soc/codecs/rt1015p.c b/sound/soc/codecs/rt1015p.c
index 06800dad8798..44e7fe3c32da 100644
--- a/sound/soc/codecs/rt1015p.c
+++ b/sound/soc/codecs/rt1015p.c
@@ -8,7 +8,6 @@ 
 #include <linux/delay.h>
 #include <linux/device.h>
 #include <linux/err.h>
-#include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/kernel.h>
 #include <linux/module.h>