ASoC: mediatek: mt8188-mt6359: Cleanup return 0 disguised as return ret
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 8 Jun 2023 08:47:25 +0000 (10:47 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 8 Jun 2023 10:36:19 +0000 (11:36 +0100)
commit4882ef44f51bbb759b8a738b747fdbcbad38e51b
tree5f83503eae2ebad55c2f15d9b709f9de5b01acba
parent1148b42257e2bf30093708398db2c4570ae9fe97
ASoC: mediatek: mt8188-mt6359: Cleanup return 0 disguised as return ret

Change all instances of `return ret` to `return 0` at the end of
functions where ret is always zero and also change functions
mt8188_{hdmi,dptx}_codec_init to be consistent with how other
functions are returning errors

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230608084727.74403-4-angelogioacchino.delregno@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/mediatek/mt8188/mt8188-mt6359.c