Since .release_device is now called through per-device ops, any call
which gets as far as a driver definitely*is* for that driver, for a
device which has successfully passed .probe_device, so all the checks to
that effect are now redundant and can be removed. In the same vein we
can also skip freeing fwspecs which are now managed by core code.
Signed-off-by: Robin Murphy<robin.murphy@xxxxxxx>
---
drivers/iommu/apple-dart.c | 3 ---
drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 8 +-------
drivers/iommu/arm/arm-smmu/arm-smmu.c | 14 +++-----------
drivers/iommu/arm/arm-smmu/qcom_iommu.c | 11 -----------
drivers/iommu/exynos-iommu.c | 3 ---
drivers/iommu/mtk_iommu.c | 5 -----
drivers/iommu/mtk_iommu_v1.c | 5 -----
drivers/iommu/sprd-iommu.c | 11 -----------
drivers/iommu/virtio-iommu.c | 8 +-------
9 files changed, 5 insertions(+), 63 deletions(-)