From: Mark Brown Date: Fri, 26 Nov 2010 11:50:03 +0000 (+0000) Subject: ASoC: Remove redundant hw_write initialisation in WM8737 X-Git-Tag: upstream/snapshot3+hdmi~7307^2~1226^2~238 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ccf1fa403e44c4107ef4d73f73cafe81b5148d40;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ASoC: Remove redundant hw_write initialisation in WM8737 Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- diff --git a/sound/soc/codecs/wm8737.c b/sound/soc/codecs/wm8737.c index 2301338..30c67d0 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);