]> 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)
commit9acc3646703cf2ca606d3c2d94b52ceae5d72f45
treea709ce906fa02d6addbbc2af2eef30fea633d402
parent9c72d6078745e9d5b138714102577c17d0e65795
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