Re: [PATCHv7 6/7] iommu: arm-smmu-impl: Use table to list QCOM implementations

From: Will Deacon
Date: Tue Nov 10 2020 - 07:11:49 EST


On Fri, Oct 30, 2020 at 02:53:13PM +0530, Sai Prakash Ranjan wrote:
> Use table and of_match_node() to match qcom implementation
> instead of multiple of_device_compatible() calls for each
> QCOM SMMU implementation.
>
> Signed-off-by: Sai Prakash Ranjan <saiprakash.ranjan@xxxxxxxxxxxxxx>
> ---
> drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 9 +--------
> drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 21 ++++++++++++++++-----
> drivers/iommu/arm/arm-smmu/arm-smmu.h | 1 -
> 3 files changed, 17 insertions(+), 14 deletions(-)

Acked-by: Will Deacon <will@xxxxxxxxxx>

Will