ACPI/IORT: 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)
commit8097e53eaba2bbae99dee661778ca20490b73951
treebd8fb390c076a9676a5dec7baf5ab64eb7b68865
parentb4ef725eeba158f365da9de1f05149094643ddea
ACPI/IORT: 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.

Acked-by: Hanjun Guo <hanjun.guo@linaro.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/acpi/arm64/iort.c