projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fdc4fe
)
ASoC: rt5645: Drop legacy GPIO include
author
Linus Walleij
<linus.walleij@linaro.org>
Sat, 12 Aug 2023 19:56:48 +0000
(21:56 +0200)
committer
Mark Brown
<broonie@kernel.org>
Sun, 13 Aug 2023 18:37:56 +0000
(19:37 +0100)
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
Link:
https://lore.kernel.org/r/20230812-descriptors-asoc-v1-10-eb4dca1f68af@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
sound/soc/codecs/rt5645.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5645.c
b/sound/soc/codecs/rt5645.c
index 5be5ec0260e91aea7c6c6600c8fb6389930df11a..e49aa28280e00e921e8ce582a443c05dd8f03216 100644
(file)
--- 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>