ASoC: cs35l45: Make cs35l45_remove() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 20 May 2022 17:33:49 +0000 (19:33 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:38:43 +0000 (12:38 +0100)
commit84965cc60e643db7049eb75bb9a6cc5cd66ee3d8
tree9e2b136f657580a6afcce313910c85d15fc00215
parent3ae190edc5f6f64f296f8dd15f4b511f529ab402
ASoC: cs35l45: Make cs35l45_remove() return void

cs35l45_remove() always returns zero. Make it return no value which
makes it easier to see in the callers that there is no error to handle.

Also the return value of i2c driver remove callbacks is ignored anyway.
This prepares making i2c remove callbacks return void, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220520173349.774366-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs35l45-i2c.c
sound/soc/codecs/cs35l45.c
sound/soc/codecs/cs35l45.h