ASoC: tegra: tegra20_das: Make helper functions return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 29 Jun 2022 19:42:23 +0000 (21:42 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jul 2022 18:53:59 +0000 (19:53 +0100)
commita10a8b6661c478dac3a8c55ad41f5cb00779c6b9
tree7b302fe7f9eb17fa5b1ded2e52d65608a32b3b86
parenteefaea93235523d248cc8cadcd6be9f47b03b9d5
ASoC: tegra: tegra20_das: Make helper functions return void

These only ever return a value != 0 if the parameter das is NULL. In the
only caller however it's already asserted this isn't the case.

So convert the functions to return void and simplify the caller
accordingly.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220629194224.175607-4-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_das.c