|
@@ -840,8 +840,7 @@ static void exynos_iommu_detach_device(struct iommu_domain *domain,
|
|
|
if (__exynos_sysmmu_disable(data)) {
|
|
|
dev_dbg(dev, "%s: Detached IOMMU with pgtable %#lx\n",
|
|
|
__func__, __pa(priv->pgtable));
|
|
|
- list_del(&data->node);
|
|
|
- INIT_LIST_HEAD(&data->node);
|
|
|
+ list_del_init(&data->node);
|
|
|
|
|
|
} else {
|
|
|
dev_dbg(dev, "%s: Detaching IOMMU with pgtable %#lx delayed",
|