iommu: Make iommu_device_link/unlink take a struct iommu_device
authorJoerg Roedel <jroedel@suse.de>
Wed, 1 Feb 2017 16:23:22 +0000 (17:23 +0100)
committerJoerg Roedel <jroedel@suse.de>
Fri, 10 Feb 2017 12:44:57 +0000 (13:44 +0100)
commite3d10af1128b6bc394f21656ff13753130f3c107
tree4b7000852fd2fa2ad644db13771e1d187c78b4dc
parent39ab9555c24110671f8dc671311a26e5c985b592
iommu: Make iommu_device_link/unlink take a struct iommu_device

This makes the interface more consistent with
iommu_device_sysfs_add/remove.

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