OSDN Git Service

iommu/of: 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:32 +0000 (10:38 +0100)
commit5c7e6bd71bfd96a65adb62593ea1b7d51a445b26
treea6c3dd436886b271c553b7693910d14d6285d497
parenta9bf2eec5a6fc01a0a5250eaf0bf61dfd382a78a
iommu/of: 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/of_iommu.c