Skip to content

Commit

Permalink
ASoC: Remove unused control_data and mutex fields from struct alc5632…
Browse files Browse the repository at this point in the history
…_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>
  • Loading branch information
Axel Lin authored and Mark Brown committed Nov 14, 2011
1 parent 3fb5eac commit 6662ff5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions sound/soc/codecs/alc5632.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6662ff5

Please sign in to comment.