[PATCH 2/9] ACPI/IORT: Use helper functions to access dev->iommu_fwspec
Hanjun Guo
guohanjun at huawei.com
Mon Dec 17 09:17:56 UTC 2018
On 2018/12/11 20:19, Joerg Roedel wrote:
> From: Joerg Roedel <jroedel at suse.de>
>
> 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.
>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> Signed-off-by: Joerg Roedel <jroedel at suse.de>
> ---
> drivers/acpi/arm64/iort.c | 19 ++++++++++---------
> 1 file changed, 10 insertions(+), 9 deletions(-)
Acked-by: Hanjun Guo <hanjun.guo at linaro.org>
Thanks
Hanjun
More information about the iommu
mailing list