v6.0: ASoC: simple-card-utils: Make asoc_simple_clean_reference() return void
commit e6f08af6340eaf88e9eeff71bd4533eee9a04119 Author: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Date: Sun Jun 5 17:35:37 2022 +0200 ASoC: simple-card-utils: Make asoc_simple_clean_reference() return void asoc_simple_clean_reference() returns zero unconditionally. Letting it return void instead makes it easier to see in the caller that there is no error to handle. 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/20220605153537.26591-1-u.kleine-koenig@pengutronix.de Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
e452172d8c
commit
8dbe3726b7
1 changed files with 3 additions and 1 deletions
|
@ -886,7 +886,9 @@ static int seeed_voice_card_remove(struct platform_device *pdev)
|
||||||
|
|
||||||
if (cancel_work_sync(&priv->work_codec_clk) != 0) {
|
if (cancel_work_sync(&priv->work_codec_clk) != 0) {
|
||||||
}
|
}
|
||||||
return asoc_simple_clean_reference(card);
|
asoc_simple_clean_reference(card);
|
||||||
|
|
||||||
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct of_device_id seeed_voice_of_match[] = {
|
static const struct of_device_id seeed_voice_of_match[] = {
|
||||||
|
|
Loading…
Reference in a new issue