ASoC: Remove unused fields in struct mfld_mc_private
PATCH 1/2 ASoC: Remove unused fields in struct mfld_mc_private
Both *socdev and *codec of struct mfld_mc_private are not being used in this driver, remove it.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/mid-x86/mfld_machine.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
sound/soc/mid-x86/mfld_machine.c +0 -2
@@ -54,9 +54,7 @@ static unsigned int hs_switch;static unsigned int lo_dac;struct mfld_mc_private { -struct platform_device *socdev;void __iomem *int_base; -struct snd_soc_codec *codec;u8 interrupt_status; };
Signature · 1 line
1.7.4.1
PATCH 2/2 ASoC: Staticise sst_platform_dai
It is not used outside this driver so no need to make the symbol global.
Signed-off-by Axel Lin <[email protected]>
--- sound/soc/mid-x86/sst_platform.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
sound/soc/mid-x86/sst_platform.c +1 -1
@@ -63,7 +63,7 @@ static struct snd_pcm_hardware sst_platform_pcm_hw = { };/* MFLD - MSIC */ -struct snd_soc_dai_driver sst_platform_dai[] = { +static struct snd_soc_dai_driver sst_platform_dai[] = { { .name ="Headset-cpu-dai" , .id =0 ,
Signature · 1 line
1.7.4.1
Mark Brown
AppliedRe: [PATCH 2/2] ASoC: Staticise sst_platform_dai
Quoted 2 lines · Axel Lin
It is not used outside this driver so no need to make the symbol global.
Applied, thanks.
Mark Brown
AppliedQuoted 2 lines · Axel Lin
Both *socdev and *codec of struct
mfld_mc_privateare not being used in this driver, remove it.
Applied, thanks.