[PATCH v2 4/9] ASoC: amd: vangogh: remove unnecessarily included headers
From: Lucas Tanure
Date: Fri Feb 17 2023 - 06:10:53 EST
Remove unused includes and replace <linux/input.h> by
<linux/input-event-codes.h>
Signed-off-by: Lucas Tanure <lucas.tanure@xxxxxxxxxxxxx>
---
sound/soc/amd/vangogh/acp5x-mach.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/sound/soc/amd/vangogh/acp5x-mach.c b/sound/soc/amd/vangogh/acp5x-mach.c
index 43c80103d138..a1cd52e58574 100644
--- a/sound/soc/amd/vangogh/acp5x-mach.c
+++ b/sound/soc/amd/vangogh/acp5x-mach.c
@@ -5,23 +5,19 @@
*
* Copyright 2021 Advanced Micro Devices, Inc.
*/
+
#include <linux/acpi.h>
-#include <linux/clk.h>
#include <linux/dmi.h>
-#include <linux/gpio.h>
#include <linux/gpio/consumer.h>
-#include <linux/io.h>
#include <linux/i2c.h>
-#include <linux/input.h>
+#include <linux/input-event-codes.h>
#include <linux/module.h>
#include <sound/jack.h>
-#include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <sound/soc.h>
#include <sound/soc-dapm.h>
#include "../../codecs/nau8821.h"
-#include "../../codecs/cs35l41.h"
#include "acp5x.h"
#define DRV_NAME "acp5x_mach"
--
2.39.2