aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/alc5632.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-11-13 11:56:28 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-11-14 21:43:30 +0000
commit6662ff5c3b8efe8c107118d9506ad65daf3e3a1b (patch)
tree67b6c0a916472230bfbafb4b3b8c2083f462ef41 /sound/soc/codecs/alc5632.c
parent3fb5eac50d66cab4a41177269432ffffcc3e67ac (diff)
downloadkernel_goldelico_gta04-6662ff5c3b8efe8c107118d9506ad65daf3e3a1b.zip
kernel_goldelico_gta04-6662ff5c3b8efe8c107118d9506ad65daf3e3a1b.tar.gz
kernel_goldelico_gta04-6662ff5c3b8efe8c107118d9506ad65daf3e3a1b.tar.bz2
ASoC: Remove unused control_data and mutex fields from struct alc5632_priv
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-off-by: Leon Romanovsky <leon@leon.nu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/alc5632.c')
-rw-r--r--sound/soc/codecs/alc5632.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/soc/codecs/alc5632.c b/sound/soc/codecs/alc5632.c
index 8a3bf71..07e958a 100644
--- a/sound/soc/codecs/alc5632.c
+++ b/sound/soc/codecs/alc5632.c
@@ -68,8 +68,6 @@ static const u16 alc5632_reg_defaults[] = {
/* codec private data */
struct alc5632_priv {
enum snd_soc_control_type control_type;
- void *control_data;
- struct mutex mutex;
u8 id;
unsigned int sysclk;
};
@@ -1071,9 +1069,7 @@ static int alc5632_i2c_probe(struct i2c_client *client,
}
i2c_set_clientdata(client, alc5632);
- alc5632->control_data = client;
alc5632->control_type = SND_SOC_I2C;
- mutex_init(&alc5632->mutex);
ret = snd_soc_register_codec(&client->dev,
&soc_codec_device_alc5632, &alc5632_dai, 1);