diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-30 10:33:28 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-08-31 04:52:04 -0400 |
commit | 9a810e959bbff538dea30f27b261a5c4346b4cc7 (patch) | |
tree | 6fbee22129abdee88b49cc7dd48614ce19a12d70 /sound/soc | |
parent | 4a8923ba99f559b078cf584f7caad901ada0e5be (diff) |
ASoC: Remove unused mutex from WM9090 driver
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/codecs/wm9090.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm9090.c b/sound/soc/codecs/wm9090.c index 4de12203e611..f2f3077928da 100644 --- a/sound/soc/codecs/wm9090.c +++ b/sound/soc/codecs/wm9090.c | |||
@@ -139,7 +139,6 @@ static const u16 wm9090_reg_defaults[] = { | |||
139 | 139 | ||
140 | /* This struct is used to save the context */ | 140 | /* This struct is used to save the context */ |
141 | struct wm9090_priv { | 141 | struct wm9090_priv { |
142 | struct mutex mutex; | ||
143 | struct wm9090_platform_data pdata; | 142 | struct wm9090_platform_data pdata; |
144 | void *control_data; | 143 | void *control_data; |
145 | }; | 144 | }; |
@@ -663,7 +662,6 @@ static int wm9090_i2c_probe(struct i2c_client *i2c, | |||
663 | 662 | ||
664 | i2c_set_clientdata(i2c, wm9090); | 663 | i2c_set_clientdata(i2c, wm9090); |
665 | wm9090->control_data = i2c; | 664 | wm9090->control_data = i2c; |
666 | mutex_init(&wm9090->mutex); | ||
667 | 665 | ||
668 | ret = snd_soc_register_codec(&i2c->dev, | 666 | ret = snd_soc_register_codec(&i2c->dev, |
669 | &soc_codec_dev_wm9090, NULL, 0); | 667 | &soc_codec_dev_wm9090, NULL, 0); |