ASoC: amd: vangogh: remove unnecessarily included headers
authorLucas Tanure <lucas.tanure@collabora.com>
Fri, 17 Feb 2023 11:08:45 +0000 (11:08 +0000)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:37:20 +0000 (23:37 +0000)
Remove unused includes and replace <linux/input.h> by
<linux/input-event-codes.h>

Signed-off-by: Lucas Tanure <lucas.tanure@collabora.com>
Link: https://lore.kernel.org/r/20230217110850.1045250-5-lucas.tanure@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-mach.c

index 43c80103d1387a439c42e33c01c3c2a9b8fcfe19..a1cd52e5857432eac98fde309956c530a1d561ad 100644 (file)
@@ -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"