Skip to contentSkip to conversation

ASoC: mpc5200_psc_ac97: Remove unused DAI ID defines

PATCH New Lars-Peter Clausen 1 participant 1 message Jan 10, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: mpc5200_psc_ac97: Remove unused DAI ID defines

The DAI ID defines are back from the time when DAIs were referenced by a numerical ID. These days a string is used instead and the defines are unused. The last user of these defines was removed in commit f0fba2ad1b6b ("ASoC: multi-component - ASoC Multi-Component Support"). So remove the defines as well.

This also means the mpc5200_psc_ac97.h file no longer has any content and can be removed.

---
 sound/soc/fsl/efika-audio-fabric.c |  1 -
 sound/soc/fsl/mpc5200_psc_ac97.c   |  1 -
 sound/soc/fsl/mpc5200_psc_ac97.h   | 13 -------------
 3 files changed, 15 deletions(-)
 delete mode 100644 sound/soc/fsl/mpc5200_psc_ac97.h
sound/soc/fsl/efika-audio-fabric.c +0 -1
index f200d1c..667f421 100644
@@ -26,7 +26,6 @@
 #include <sound/soc.h>
 
 #include "mpc5200_dma.h"
-#include "mpc5200_psc_ac97.h"
 
 #define DRV_NAME "efika-audio-fabric"
 
sound/soc/fsl/mpc5200_psc_ac97.c +0 -1
index 243700c..07ee355 100644
@@ -25,7 +25,6 @@
 #include <asm/mpc52xx_psc.h>
 
 #include "mpc5200_dma.h"
-#include "mpc5200_psc_ac97.h"
 
 #define DRV_NAME "mpc5200-psc-ac97"
 
sound/soc/fsl/mpc5200_psc_ac97.h deleted +0 -13
deleted file mode 100644
index e881e78..0000000
@@ -1,13 +0,0 @@
-/*
- * Freescale MPC5200 PSC in AC97 mode
- * ALSA SoC Digital Audio Interface (DAI) driver
- *
- */
-
-#ifndef __SOUND_SOC_FSL_MPC52xx_PSC_AC97_H__
-#define __SOUND_SOC_FSL_MPC52xx_PSC_AC97_H__
-
-#define MPC5200_AC97_NORMAL 0
-#define MPC5200_AC97_SPDIF 1
-
-#endif /* __SOUND_SOC_FSL_MPC52xx_PSC_AC97_H__ */
Signature · 1 line
2.1.4