Skip to content
Unverified Commit 1d3dd532 authored by Hariprasad Kelam's avatar Hariprasad Kelam Committed by Mark Brown
Browse files

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: default avatarHariprasad Kelam <hariprasad.kelam@gmail.com>
Acked-by: default avatarTzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20190709182543.GA6611@hari-Inspiron-1545


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5be6155b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment