Re: [PATCH 2/4] ASoC: SOF: amd: Drop unused includes from Vangogh driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]




On 2/7/25 17:16, Cristian Ciocaltea wrote:
Remove all the includes for headers which are not (directly) used from
the Vangogh SOF driver sources.

Okay.

Reviewed-by: Venkata Prasad Potturu <venkataprasad.potturu@xxxxxxx>


Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@xxxxxxxxxxxxx>
---
  sound/soc/sof/amd/pci-vangogh.c | 2 --
  sound/soc/sof/amd/vangogh.c     | 4 ----
  2 files changed, 6 deletions(-)

diff --git a/sound/soc/sof/amd/pci-vangogh.c b/sound/soc/sof/amd/pci-vangogh.c
index 53f64d6bc91bae9e2ec506384a83b209a296860f..28f2d4050a6769335b5908c16946eff85aa7161d 100644
--- a/sound/soc/sof/amd/pci-vangogh.c
+++ b/sound/soc/sof/amd/pci-vangogh.c
@@ -13,11 +13,9 @@
#include <linux/module.h>
  #include <linux/pci.h>
-#include <linux/platform_device.h>
  #include <sound/sof.h>
  #include <sound/soc-acpi.h>
-#include "../ops.h"
  #include "../sof-pci-dev.h"
  #include "../../amd/mach-config.h"
  #include "acp.h"
diff --git a/sound/soc/sof/amd/vangogh.c b/sound/soc/sof/amd/vangogh.c
index d5f1dddd43e72dd62b3d031130193e6125edf9df..6ed5f9aaa414e696b0ae9b3bb83bd92a5dcd8d4b 100644
--- a/sound/soc/sof/amd/vangogh.c
+++ b/sound/soc/sof/amd/vangogh.c
@@ -12,13 +12,9 @@
   */
#include <linux/delay.h>
-#include <linux/platform_device.h>
  #include <linux/module.h>
-#include "../ops.h"
-#include "../sof-audio.h"
  #include "acp.h"
-#include "acp-dsp-offset.h"
#define I2S_HS_INSTANCE 0
  #define I2S_BT_INSTANCE		1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux