ASoC: core: Make snd_soc_unregister_card() return void
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 21 Jun 2022 14:58:34 +0000 (16:58 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Jun 2022 12:39:34 +0000 (13:39 +0100)
commit1892a991886ace2c3450bec801df2cf4028a803a
treeb4af83054099837ff653124affcf42b6f4a5b429
parent644ed467c773ae7649cb54c9709aabc6f2984850
ASoC: core: Make snd_soc_unregister_card() return void

The function snd_soc_unregister_card() returned 0 unconditionally and most
callers don't care to check the return value. Make it return void and
adapt the callers that didn't ignore the return value before.

This is a preparation for making platform remove callbacks return void.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20220621145834.198519-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/atmel/mikroe-proto.c
sound/soc/fsl/pcm030-audio-fabric.c
sound/soc/soc-core.c
sound/soc/soc-topology-test.c