lkml.org 
[lkml]   [2021]   [Oct]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] ASoC: amd: remove duplicate include in acp5x-mach.c
Date
From: Lv Ruyi <lv.ruyi@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@zte.com.cn>
Signed-off-by: Lv Ruyi <lv.ruyi@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
\
 
 \ /
  Last update: 2021-10-19 08:05    [W:0.030 / U:1.508 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site