iommu/ipmmu-vmsa: Consistent ->of_xlate() handling
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 17 Jul 2017 13:05:20 +0000 (22:05 +0900)
committerJoerg Roedel <jroedel@suse.de>
Wed, 26 Jul 2017 10:45:55 +0000 (12:45 +0200)
commit49558da030d5559b6d80a052f4c51a69f89c31ac
treece83d4fe67cffdfe14f6106f914982640c978628
parent01da21e5624f9e880e6983273091cc9b68a925d9
iommu/ipmmu-vmsa: Consistent ->of_xlate() handling

The 32-bit ARM code gets updated to make use of ->of_xlate() and the
code is shared between 64-bit and 32-bit ARM. The of_device_is_available()
check gets dropped since it is included in of_iommu_xlate().

Suggested-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c