iommu: Directly use ida_alloc()/free()
authorKe Liu <liuke94@huawei.com>
Wed, 8 Jun 2022 02:16:55 +0000 (02:16 +0000)
committerJoerg Roedel <jroedel@suse.de>
Wed, 22 Jun 2022 12:47:48 +0000 (14:47 +0200)
commit822242e649ea9f1d9b5c43735445fff26209b215
treef4ee7c37425a26efae6178472e5a076092bc8680
parenta111daf0c53ae91e71fd2bfe7497862d14132e3e
iommu: Directly use ida_alloc()/free()

Use ida_alloc()/ida_free() instead of deprecated
ida_simple_get()/ida_simple_remove().

Signed-off-by: Ke Liu <liuke94@huawei.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/r/20220608021655.1538087-1-liuke94@huawei.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c