iommu/omap: Convert to generic_single_device_group()
authorJason Gunthorpe <jgg@nvidia.com>
Tue, 22 Aug 2023 16:16:02 +0000 (13:16 -0300)
committerJoerg Roedel <jroedel@suse.de>
Mon, 25 Sep 2023 09:52:08 +0000 (11:52 +0200)
commitebfdc4569eabeacd5ef52364ac0496981652c055
tree16eb2bd337b05660300e0510028945925475291f
parent8f68911efc16feba1faf073ebea53f6a5b363e7c
iommu/omap: Convert to generic_single_device_group()

Use the new helper.

For some reason omap will probe its driver even if it doesn't load an
iommu driver. Keep this working by keeping a bool to track if the iommu
driver was started.

Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Link: https://lore.kernel.org/r/7-v1-c869a95191f2+5e8-iommu_single_grp_jgg@nvidia.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/omap-iommu.c
drivers/iommu/omap-iommu.h