Skip to content

Commit 48dcf1d

Browse files
Sachin Kamatbroonie
authored andcommitted
ASoC: mid-x86: Remove redundant platform_set_drvdata()
Commit 0998d06 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent f722406 commit 48dcf1d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sound/soc/mid-x86/mfld_machine.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,6 @@ static int snd_mfld_mc_remove(struct platform_device *pdev)
425425
free_irq(platform_get_irq(pdev, 0), mc_drv_ctx);
426426
snd_soc_unregister_card(&snd_soc_card_mfld);
427427
kfree(mc_drv_ctx);
428-
platform_set_drvdata(pdev, NULL);
429428
return 0;
430429
}
431430

0 commit comments

Comments
 (0)