diff options
author | Joerg Roedel <jroedel@suse.de> | 2017-01-31 16:58:42 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-02-10 13:44:57 +0100 |
commit | 534766dfef999f7e7349bbd91cd19c1673792af3 (patch) | |
tree | 3c8ab8faadf54f69965ab658f7135d929f973184 /drivers/acpi/arm64 | |
parent | iommu: Handle default domain attach failure (diff) | |
download | linux-534766dfef999f7e7349bbd91cd19c1673792af3.tar.xz linux-534766dfef999f7e7349bbd91cd19c1673792af3.zip |
iommu: Rename iommu_get_instance()
Rename the function to iommu_ops_from_fwnode(), because that
is what the function actually does. The new name is much
more descriptive about what the function does.
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/acpi/arm64')
-rw-r--r-- | drivers/acpi/arm64/iort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/arm64/iort.c b/drivers/acpi/arm64/iort.c index e0d2e6e6e40c..3752521c62ab 100644 --- a/drivers/acpi/arm64/iort.c +++ b/drivers/acpi/arm64/iort.c @@ -536,7 +536,7 @@ static const struct iommu_ops *iort_iommu_xlate(struct device *dev, if (!iort_fwnode) return NULL; - ops = iommu_get_instance(iort_fwnode); + ops = iommu_ops_from_fwnode(iort_fwnode); if (!ops) return NULL; |