iommu/arm-smmu-qcom: Move implementation data into match data
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Mon, 14 Nov 2022 17:06:30 +0000 (20:06 +0300)
committerWill Deacon <will@kernel.org>
Mon, 14 Nov 2022 18:09:38 +0000 (18:09 +0000)
commit4c1d0ad153f8bca09776da6031639d3b965d849a
treeed311b50d3a451fcaf27f7d918884338baecf119
parent6c84bbd103d85696af9cc0f746c01f9b2847637e
iommu/arm-smmu-qcom: Move implementation data into match data

In preparation to rework of the implementation and configuration
details, make qcom_smmu_create() accept new qcom_smmu_match_data
structure pointer. Make implementation a field in this struct.

Reviewed-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Tested-by: Sai Prakash Ranjan <quic_saipraka@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20221114170635.1406534-6-dmitry.baryshkov@linaro.org
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c
drivers/iommu/arm/arm-smmu/arm-smmu-qcom.h