iommu: Remove add_device()/remove_device() code-paths
authorJoerg Roedel <jroedel@suse.de>
Wed, 29 Apr 2020 13:37:10 +0000 (15:37 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 5 May 2020 12:36:14 +0000 (14:36 +0200)
commit3eeeb45c6d0444b368cdeba9bdafa8bbcf5370d1
tree6f9afc2af35d526dd40ff1032550ab7756b0daed
parent3c51c05479c577ea4235d46366d6181a2d6aff2d
iommu: Remove add_device()/remove_device() code-paths

All drivers are converted to use the probe/release_device()
call-backs, so the add_device/remove_device() pointers are unused and
the code using them can be removed.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Acked-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20200429133712.31431-33-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h