Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: codecs: Fix duplicate included sound/soc.h
@ 2021-06-16  5:51 Jiapeng Chong
  2021-06-16 16:41 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2021-06-16  5:51 UTC (permalink / raw)
  To: lgirdwood; +Cc: Jiapeng Chong, alsa-devel, linux-kernel, tiwai, broonie

Clean up the following includecheck warnings:

./sound/soc/codecs/wcd938x.c: sound/soc.h is included more than once.
./sound/soc/codecs/wcd938x-sdw.c: sound/soc.h is included more than
once.

No functional change.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 sound/soc/codecs/wcd938x-sdw.c | 1 -
 sound/soc/codecs/wcd938x.c     | 1 -
 2 files changed, 2 deletions(-)

diff --git a/sound/soc/codecs/wcd938x-sdw.c b/sound/soc/codecs/wcd938x-sdw.c
index d82c40e..88334d3 100644
--- a/sound/soc/codecs/wcd938x-sdw.c
+++ b/sound/soc/codecs/wcd938x-sdw.c
@@ -7,7 +7,6 @@
 #include <linux/device.h>
 #include <linux/kernel.h>
 #include <linux/component.h>
-#include <sound/soc.h>
 #include <linux/pm_runtime.h>
 #include <linux/irqdomain.h>
 #include <linux/of.h>
diff --git a/sound/soc/codecs/wcd938x.c b/sound/soc/codecs/wcd938x.c
index 2cf6145..c0d7452 100644
--- a/sound/soc/codecs/wcd938x.c
+++ b/sound/soc/codecs/wcd938x.c
@@ -9,7 +9,6 @@
 #include <linux/kernel.h>
 #include <linux/pm_runtime.h>
 #include <linux/component.h>
-#include <sound/soc.h>
 #include <sound/tlv.h>
 #include <linux/of_gpio.h>
 #include <linux/of.h>
-- 
1.8.3.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-16 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-16  5:51 [PATCH] ASoC: codecs: Fix duplicate included sound/soc.h Jiapeng Chong
2021-06-16 16:41 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox