iommu/amd: Convert to probe/release_device() call-backs
authorJoerg Roedel <jroedel@suse.de>
Wed, 29 Apr 2020 13:36:53 +0000 (15:36 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 May 2020 12:36:13 +0000 (14:36 +0200)
commitdce8d6964ebdb333383bacf5e7ab8c27df151218
treea3f6d496e5e7d10e452be32aabf1140ac39df4f4
parent57f9842e48840684f596db1de936d7c6d44cd087
iommu/amd: Convert to probe/release_device() call-backs

Convert the AMD 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>
Link: https://lore.kernel.org/r/20200429133712.31431-16-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c