Skip to content

Commit ccf1fa4

Browse files
committed
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>
1 parent fdc1f5d commit ccf1fa4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎sound/soc/codecs/wm8737.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ static int wm8737_probe(struct snd_soc_codec *codec)
560560
struct wm8737_priv *wm8737 = snd_soc_codec_get_drvdata(codec);
561561
int ret, i;
562562

563-
codec->hw_write = (hw_write_t)i2c_master_send;
564563
ret = snd_soc_codec_set_cache_io(codec, 7, 9, wm8737->control_type);
565564
if (ret != 0) {
566565
dev_err(codec->dev, "Failed to set cache I/O: %d\n", ret);

0 commit comments

Comments
 (0)