sound: soc: codecs: mt6358: change return type of mt6358_codec_init_reg
authorHariprasad Kelam <hariprasad.kelam@gmail.com>
Tue, 9 Jul 2019 18:25:43 +0000 (23:55 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 22 Jul 2019 12:10:57 +0000 (13:10 +0100)
commit1d3dd532883be6167da5df6117efd6d4e8790456
tree2ae0bdbba344176c7bb3f7e3f976bd9e19b90225
parent5be6155b50bbf7083b4bfa219e4ce6d1491f42f0
sound: soc: codecs: mt6358: change return type of mt6358_codec_init_reg

As mt6358_codec_init_reg function always returns 0 , change return type
from int to void.

fixes below issue reported by coccicheck
sound/soc/codecs/mt6358.c:2260:5-8: Unneeded variable: "ret". Return "0"
on line 2289

Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20190709182543.GA6611@hari-Inspiron-1545
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/mt6358.c