OSDN Git Service

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)
commit0f884099a57516c0f1b66aa29e03b9265b242fff
tree41db3e11f901b1101ddea080dba82dc19646e653
parentb8f3b564937c1f3529bc4897cc41c5d95d2cdbe9
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