projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fdc1f5d
)
ASoC: Remove redundant hw_write initialisation in WM8737
author
Mark Brown
<
[email protected]
>
Fri, 26 Nov 2010 11:50:03 +0000
(11:50 +0000)
committer
Mark Brown
<
[email protected]
>
Fri, 26 Nov 2010 15:16:19 +0000
(15:16 +0000)
Signed-off-by: Mark Brown <
[email protected]
>
Acked-by: Liam Girdwood <
[email protected]
>
sound/soc/codecs/wm8737.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wm8737.c
b/sound/soc/codecs/wm8737.c
index 2301338cb2c9cd3e40689dcad0e642e6d580a803..30c67d06a9043988f1a84ed6f4780b7c2502dbc3 100644
(file)
--- a/
sound/soc/codecs/wm8737.c
+++ b/
sound/soc/codecs/wm8737.c
@@
-560,7
+560,6
@@
static int wm8737_probe(struct snd_soc_codec *codec)
struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec);
int ret, i;
- codec->hw_write = (hw_write_t)i2c_master_send;
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type);
if (ret != 0) {
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);