[PATCH] ASoC: amd: remove duplicate include in acp5x-mach.c

cgel.zte at gmail.com cgel.zte at gmail.com
Tue Oct 19 08:03:49 CEST 2021


From: Lv Ruyi <lv.ruyi at zte.com.cn>

'linux/io.h' and 'linux/module.h' included in 'acp5x-mach.c' is
duplicated.Only one duplicate header file is reserved.

Reported-by: Zeal Robot <zealci at zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi at zte.com.cn>
---
 sound/soc/amd/vangogh/acp5x-mach.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c
index 14cf325e4b23..2d9229ba9c59 100644
--- a/sound/soc/amd/vangogh/acp5x-mach.c
+++ b/sound/soc/amd/vangogh/acp5x-mach.c
@@ -8,16 +8,14 @@
 
 #include <sound/soc.h>
 #include <sound/soc-dapm.h>
-#include <linux/module.h>
-#include <linux/io.h>
 #include <sound/pcm.h>
 #include <sound/pcm_params.h>
-
 #include <sound/jack.h>
+
 #include <linux/clk.h>
 #include <linux/gpio.h>
 #include <linux/gpio/consumer.h>
 #include <linux/module.h>
 #include <linux/i2c.h>
 #include <linux/input.h>
 #include <linux/io.h>
-- 
2.25.1



More information about the Alsa-devel mailing list