summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm8737.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-26 11:50:03 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-26 15:16:19 +0000
commitccf1fa403e44c4107ef4d73f73cafe81b5148d40 (patch)
tree35670cf192c0015f6a700a896cb6ddc1d5bcda70 /sound/soc/codecs/wm8737.c
parentfdc1f5d0608faa9bb06c1e7c662831550b32d2d3 (diff)
downloadlinux-ccf1fa403e44c4107ef4d73f73cafe81b5148d40.tar.bz2
ASoC: Remove redundant hw_write initialisation in WM8737
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/codecs/wm8737.c')
-rw-r--r--sound/soc/codecs/wm8737.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c
index 2301338cb2c9..30c67d06a904 100644
--- 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);