]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu: Use Functions to set default domain type in iommu_set_def_domain_type()
authorJoerg Roedel <jroedel@suse.de>
Mon, 19 Aug 2019 13:22:48 +0000 (15:22 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 23 Aug 2019 08:09:58 +0000 (10:09 +0200)
commitadab0b07cbbc73f9fc338e4fc1749714dd093a7c
tree75d22a107aff3cfd780704033ea312b866108a80
parent8a69961c7f7583742ab9064feab5ea533a6b1b97
iommu: Use Functions to set default domain type in iommu_set_def_domain_type()

There are functions now to set the default domain type which
take care of updating other necessary state. Don't open-code
it in iommu_set_def_domain_type() and use those functions
instead.

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