Merge "iommu/arm-smmu: Add missing iommu_device_unregister()"

This commit is contained in:
qctecmdr 2020-01-07 07:20:31 -08:00 • committed by Gerrit - the friendly Code Review server
commit 687b078378

View file

@ -4833,6 +4833,7 @@ static int arm_smmu_device_remove(struct platform_device *pdev)
dev_err(&pdev->dev, "removing device with active domains!\n");
arm_smmu_bus_init(NULL);
iommu_device_unregister(&smmu->iommu);
idr_destroy(&smmu->asid_idr);
/* Turn the thing off */