]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs35l41: Make cs35l41_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 20 Oct 2021 13:24:16 +0000 (15:24 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 25 Oct 2021 11:36:19 +0000 (12:36 +0100)
commit6c72768b31affe1a73ae20e11c59dbd7c078d232
treece659c4f81ef6a2252913f364d5a975bac6e805d
parent8a6e17c1a55491297ff993234e0e9b90e1271fd2
ASoC: cs35l41: Make cs35l41_remove() return void

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