OSDN Git Service

iommu/ipmmu-vmsa: Use helper functions to access dev->iommu_fwspec
authorJoerg Roedel <jroedel@suse.de>
Thu, 29 Nov 2018 13:01:00 +0000 (14:01 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 17 Dec 2018 09:38:30 +0000 (10:38 +0100)
commitdf90365580623b5c53cd9a46c14375191123d776
treeeaf9065372a1d5cc9f72642f935e406a64ce9e9b
parent98cc4f7196422ee20e00e2067e484e3136dbe4a5
iommu/ipmmu-vmsa: Use helper functions to access dev->iommu_fwspec

Use the new helpers dev_iommu_fwspec_get()/set() to access
the dev->iommu_fwspec pointer. This makes it easier to move
that pointer later into another struct.

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