ASoC: Intel: skylake: remove unnecessary dev_set_drvdata()
Remove unnecessary dev_set_drvdata() in skl_remove(), the driver_data will be set to NULL in device_unbind_cleanup() after calling ->remove(). Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Link: https://lore.kernel.org/r/20220916140757.681414-1-yangyingliang@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
abb4e4349a
Коммит
d508260e89
|
@ -1127,7 +1127,6 @@ static void skl_remove(struct pci_dev *pci)
|
|||
if (skl->nhlt)
|
||||
intel_nhlt_free(skl->nhlt);
|
||||
skl_free(bus);
|
||||
dev_set_drvdata(&pci->dev, NULL);
|
||||
}
|
||||
|
||||
/* PCI IDs */
|
||||
|
|
Загрузка…
Ссылка в новой задаче