iommu/vt-d: Convert to probe/release_device() call-backs
authorJoerg Roedel <jroedel@suse.de>
Wed, 29 Apr 2020 13:36:54 +0000 (15:36 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 May 2020 12:36:13 +0000 (14:36 +0200)
commite5d1841f18b2401c8b449c024817cd243e363934
treefb9f23e38c93bd4e82234bad6b8837ca6ef69feb
parentdce8d6964ebdb333383bacf5e7ab8c27df151218
iommu/vt-d: Convert to probe/release_device() call-backs

Convert the Intel IOMMU driver to use the probe_device() and
release_device() call-backs of iommu_ops, so that the iommu core code
does the group and sysfs setup.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200429133712.31431-17-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c