sound: soc: rt5677-spi: Drop unused GPIO include

Message ID 20180918191157.16996-1-linus.walleij@linaro.org
State New
Headers show
Series
  • sound: soc: rt5677-spi: Drop unused GPIO include
Related show

Commit Message

Linus Walleij Sept. 18, 2018, 7:11 p.m.
This SPI driver does not use the legacy GPIO header so
just delete it.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
 sound/soc/codecs/rt5677-spi.c | 1 -
 1 file changed, 1 deletion(-)

-- 
2.17.1

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Comments

Mark Brown Sept. 18, 2018, 7:49 p.m. | #1
On Tue, Sep 18, 2018 at 12:11:57PM -0700, Linus Walleij wrote:
> This SPI driver does not use the legacy GPIO header so

> just delete it.


Please use subject lines matching the style for the subsystem.  This
makes it easier for people to identify relevant patches.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

Patch

diff --git a/sound/soc/codecs/rt5677-spi.c b/sound/soc/codecs/rt5677-spi.c
index bd51f3655ee3..84501c2020c7 100644
--- a/sound/soc/codecs/rt5677-spi.c
+++ b/sound/soc/codecs/rt5677-spi.c
@@ -18,7 +18,6 @@ 
 #include <linux/interrupt.h>
 #include <linux/irq.h>
 #include <linux/slab.h>
-#include <linux/gpio.h>
 #include <linux/sched.h>
 #include <linux/uaccess.h>
 #include <linux/regulator/consumer.h>