]> 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)
commite68e3934c6215c6b66e3d38bc13e8dc032d8d45a
treece659c4f81ef6a2252913f364d5a975bac6e805d
parentc5c8ad23ad3b2308c581127bd6a8ec3e37195ac6
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