mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ASoC: ux500: mop500_ab8500: tidyup mop500_ab8500_remove()
It sets drvdata again in remove(), but it want to remove it.
void mop500_ab8500_remove(...)
{
struct mop500_ab8500_drvdata *drvdata = snd_soc_card_get_drvdata(card);
...
snd_soc_card_set_drvdata(card, drvdata);
} ^^^^^^^
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87cxwhi083.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
a14b505778
commit
1ed8d136f7
|
|
@ -433,5 +433,5 @@ void mop500_ab8500_remove(struct snd_soc_card *card)
|
|||
clk_put(drvdata->clk_ptr_ulpclk);
|
||||
clk_put(drvdata->clk_ptr_intclk);
|
||||
|
||||
snd_soc_card_set_drvdata(card, drvdata);
|
||||
snd_soc_card_set_drvdata(card, NULL);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user