iommu: Consolitate ->add/remove_device() calls
authorJoerg Roedel <jroedel@suse.de>
Fri, 30 Nov 2018 09:31:59 +0000 (10:31 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 17 Dec 2018 11:47:50 +0000 (12:47 +0100)
commitcc5aed44a3a8e4fca721636cf881a52f8d68a098
treef2c0e3730930f889a8d7fbde52853404057b8860
parent6954cf9bfda153f9544c63761aabf0199710aec3
iommu: Consolitate ->add/remove_device() calls

Put them into separate functions and call those where the
plain ops have been called before.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c
include/linux/iommu.h