]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ASoC: Remove unused fields in struct mfld_mc_private
authorAxel Lin <axel.lin@gmail.com>
Tue, 27 Sep 2011 02:38:07 +0000 (10:38 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 27 Sep 2011 10:21:40 +0000 (11:21 +0100)
Both *socdev and *codec of struct mfld_mc_private are not being used
in this driver, remove it.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/mid-x86/mfld_machine.c

index 429aa1be2cffa6ae8d73b3d3547373afb74fd2cd..1d818dc57973bae18d0670e9d40e2c4da54fd8d4 100644 (file)
@@ -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;
 };