[PATCHv7 6/7] iommu: arm-smmu-impl: Use table to list QCOM implementations
Will Deacon
will at kernel.org
Tue Nov 10 12:11:40 UTC 2020
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 at codeaurora.org>
> ---
> 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 at kernel.org>
Will
More information about the dri-devel
mailing list