]> git.baikalelectronics.ru Git - kernel.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)
commitd8fb1bde3199ab15a3e763a51531d3830efb1037
treea709ce906fa02d6addbbc2af2eef30fea633d402
parentfd153a68b7a0c754712c7e62b813adc37a886606
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