]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0bcd69f9f5bfd8dfec4b9e7f1bf6f61fc06e6ca5
tree7b302fe7f9eb17fa5b1ded2e52d65608a32b3b86
parentbbf265c4da29728637eef4d682eeef4e218c5e29
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