]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tlv320aic32x4: Make aic32x4_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 15 Oct 2021 07:11:13 +0000 (09:11 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 18 Oct 2021 12:56:42 +0000 (13:56 +0100)
commitd41b3a75d23b5b7c2b75916be3fb70a1ef2699cf
tree41db3e11f901b1101ddea080dba82dc19646e653
parent2de059225e69b8c84f653073c3aa041a2500588c
ASoC: tlv320aic32x4: Make aic32x4_remove() return void

Up to now aic32x4_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/20211015071113.2795767-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4-i2c.c
sound/soc/codecs/tlv320aic32x4-spi.c
sound/soc/codecs/tlv320aic32x4.c
sound/soc/codecs/tlv320aic32x4.h