]> git.dujemihanovic.xyz Git - linux.git/commit
ASoC: tlv320aic3x: Make aic3x_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 19 Oct 2021 07:41:25 +0000 (09:41 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 29 Oct 2021 17:55:24 +0000 (18:55 +0100)
commit2a7985136cac21c8e94e2f1977f052d415d282b0
treea709ce906fa02d6addbbc2af2eef30fea633d402
parent6c8552ebba7742e7128134859846e17edbfdf222
ASoC: tlv320aic3x: Make aic3x_remove() return void

Up to now aic3x_remove() returns zero unconditionally. Make it return
void instead which makes it easier to see in the callers that there is
no error to handle.

Also the return value of i2c and spi remove callbacks is ignored anyway.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211019074125.3812513-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic3x-i2c.c
sound/soc/codecs/tlv320aic3x-spi.c
sound/soc/codecs/tlv320aic3x.c
sound/soc/codecs/tlv320aic3x.h