iommu/arm-smmu: Remove "leaf" indirection
authorRobin Murphy <robin.murphy@arm.com>
Wed, 18 Sep 2019 16:17:49 +0000 (17:17 +0100)
committerWill Deacon <will@kernel.org>
Tue, 1 Oct 2019 11:17:39 +0000 (12:17 +0100)
commit3370cb6bf64f6896a30eb7ad97721b9598c8fb10
treeb9adf0b35b69544da0c025e16b851b46f0ca7853
parent3f3b8d0c9c1838271543df9e655032117a663f88
iommu/arm-smmu: Remove "leaf" indirection

Now that the "leaf" flag is no longer part of an external interface,
there's no need to use it to infer a register offset at runtime when
we can just as easily encode the offset directly in its place.

Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm-smmu.c