iommu/vt-d: Pass device_domain_info to __dmar_remove_one_dev_info
authorJoerg Roedel <jroedel@suse.de>
Thu, 23 Jul 2015 15:44:46 +0000 (17:44 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:36 +0000 (16:23 +0200)
commit127c761598f7fbe7ffe6650cdc491eb57c5aaecd
tree5fd890f4f177cfe695413c3b711a4ff410ac123b
parent2309bd793ead6d5e4ace611502aa87b3202856ca
iommu/vt-d: Pass device_domain_info to __dmar_remove_one_dev_info

This struct contains all necessary information for the
function already. Also handle the info->dev == NULL case
while at it.

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