Skip to content

Commit

Permalink
ASoC: Remove unused mutex from WM9090 driver
Browse files Browse the repository at this point in the history
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Mark Brown committed Aug 31, 2011
1 parent 4a8923b commit 9a810e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions sound/soc/codecs/wm9090.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = {

/* This struct is used to save the context */
struct wm9090_priv {
struct mutex mutex;
struct wm9090_platform_data pdata;
void *control_data;
};
Expand Down Expand Up @@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c,

i2c_set_clientdata(i2c, wm9090);
wm9090->control_data = i2c;
mutex_init(&wm9090->mutex);

ret = snd_soc_register_codec(&i2c->dev,
&soc_codec_dev_wm9090, NULL, 0);
Expand Down

0 comments on commit 9a810e9

Please sign in to comment.