Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 80691c8f authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Mark Brown
Browse files

ASoC: pxa2xx-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 f0fba2ad
("ASoC: multi-component - ASoC Multi-Component Support"). So remove the
defines as well.

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

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Acked-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr> (for mioa701_wm9713)
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent a5de5b74
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -22,9 +22,6 @@

#include <asm/mach-types.h>

#include "pxa2xx-ac97.h"


#define E740_AUDIO_OUT 1
#define E740_AUDIO_IN  2

+0 −2
Original line number Diff line number Diff line
@@ -22,8 +22,6 @@

#include <asm/mach-types.h>

#include "pxa2xx-ac97.h"

static int e750_spk_amp_event(struct snd_soc_dapm_widget *w,
				struct snd_kcontrol *kcontrol, int event)
{
+0 −2
Original line number Diff line number Diff line
@@ -21,8 +21,6 @@
#include <mach/audio.h>
#include <mach/eseries-gpio.h>

#include "pxa2xx-ac97.h"

static int e800_spk_amp_event(struct snd_soc_dapm_widget *w,
				struct snd_kcontrol *kcontrol, int event)
{
+0 −2
Original line number Diff line number Diff line
@@ -30,8 +30,6 @@
#include <asm/mach-types.h>
#include <mach/audio.h>

#include "pxa2xx-ac97.h"

static struct snd_soc_dai_link em_x270_dai[] = {
	{
		.name = "AC97",
+0 −1
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@
#include <sound/initval.h>
#include <sound/ac97_codec.h>

#include "pxa2xx-ac97.h"
#include "../codecs/wm9713.h"

#define AC97_GPIO_PULL		0x58
Loading