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

Commit fc38a8a1 authored by Dimitris Papastamos's avatar Dimitris Papastamos Committed by Mark Brown
Browse files

ASoC: WM8985: Remove unneeded declaration.



We are not using the private data in this function, so get rid of it.

Signed-off-by: default avatarDimitris Papastamos <dp@opensource.wolfsonmicro.com>
Acked-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 591796b8
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -557,12 +557,10 @@ static int wm8985_dac_mute(struct snd_soc_dai *dai, int mute)

static int wm8985_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
{
	struct wm8985_priv *wm8985;
	struct snd_soc_codec *codec;
	u16 format, master, bcp, lrp;

	codec = dai->codec;
	wm8985 = snd_soc_codec_get_drvdata(codec);

	switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {
	case SND_SOC_DAIFMT_I2S: