iommu/ipmmu-vmsa: Refactor ipmmu_of_xlate()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 28 Jan 2021 13:02:59 +0000 (22:02 +0900)
committerJoerg Roedel <jroedel@suse.de>
Fri, 29 Jan 2021 08:27:14 +0000 (09:27 +0100)
commit815cdd86038b809ef9fc3d42aed1f248414df3ce
treedbe9de78a9aabe56c7cb077195b89a44438ddef2
parent6ee1d745b7c9fd573fba142a2efdad76a9f1cb04
iommu/ipmmu-vmsa: Refactor ipmmu_of_xlate()

Refactor ipmmu_of_xlate() to improve readability/scalability.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/1611838980-4940-2-git-send-email-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/ipmmu-vmsa.c