Skip to content
Commit 445d7a8e authored by Bibek Kumar Patro's avatar Bibek Kumar Patro Committed by Will Deacon
Browse files

iommu/arm-smmu: Refactor qcom_smmu structure to include single pointer



qcom_smmu_match_data is static and constant so refactor qcom_smmu to
store single pointer to qcom_smmu_match_data instead of replicating
multiple child members of the same and handle the further dereferences
in the places that want them.

Suggested-by: Robin Murphy's avatarRobin Murphy <robin.murphy@arm.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarRob Clark <robdclark@gmail.com>
Signed-off-by: default avatarBibek Kumar Patro <quic_bibekkum@quicinc.com>
Link: https://lore.kernel.org/r/20241212151402.159102-3-quic_bibekkum@quicinc.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent ef4144b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment