Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

drm/msm/dp: tidy up platform data names

Follow the established symbol name pattern and rename platform data
structures.

Reviewed-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/622213/
Link: https://lore.kernel.org/r/20241029-msm-dp-rename-v2-3-13c5c03fad44@linaro.org

+19 -19
+19 -19
drivers/gpu/drm/msm/dp/dp_display.c
··· 118 118 bool wide_bus_supported; 119 119 }; 120 120 121 - static const struct msm_dp_desc sa8775p_dp_descs[] = { 121 + static const struct msm_dp_desc msm_dp_desc_sa8775p[] = { 122 122 { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 123 123 { .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 124 124 { .io_start = 0x22154000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, ··· 126 126 {} 127 127 }; 128 128 129 - static const struct msm_dp_desc sc7180_dp_descs[] = { 129 + static const struct msm_dp_desc msm_dp_desc_sc7180[] = { 130 130 { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 131 131 {} 132 132 }; 133 133 134 - static const struct msm_dp_desc sc7280_dp_descs[] = { 134 + static const struct msm_dp_desc msm_dp_desc_sc7280[] = { 135 135 { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 136 136 { .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 137 137 {} 138 138 }; 139 139 140 - static const struct msm_dp_desc sc8180x_dp_descs[] = { 140 + static const struct msm_dp_desc msm_dp_desc_sc8180x[] = { 141 141 { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 142 142 { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 143 143 { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, 144 144 {} 145 145 }; 146 146 147 - static const struct msm_dp_desc sc8280xp_dp_descs[] = { 147 + static const struct msm_dp_desc msm_dp_desc_sc8280xp[] = { 148 148 { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 149 149 { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 150 150 { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, ··· 156 156 {} 157 157 }; 158 158 159 - static const struct msm_dp_desc sm8650_dp_descs[] = { 159 + static const struct msm_dp_desc msm_dp_desc_sm8650[] = { 160 160 { .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 161 161 {} 162 162 }; 163 163 164 - static const struct msm_dp_desc x1e80100_dp_descs[] = { 164 + static const struct msm_dp_desc msm_dp_desc_x1e80100[] = { 165 165 { .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true }, 166 166 { .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true }, 167 167 { .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true }, ··· 170 170 }; 171 171 172 172 static const struct of_device_id msm_dp_dt_match[] = { 173 - { .compatible = "qcom,sa8775p-dp", .data = &sa8775p_dp_descs }, 174 - { .compatible = "qcom,sc7180-dp", .data = &sc7180_dp_descs }, 175 - { .compatible = "qcom,sc7280-dp", .data = &sc7280_dp_descs }, 176 - { .compatible = "qcom,sc7280-edp", .data = &sc7280_dp_descs }, 177 - { .compatible = "qcom,sc8180x-dp", .data = &sc8180x_dp_descs }, 178 - { .compatible = "qcom,sc8180x-edp", .data = &sc8180x_dp_descs }, 179 - { .compatible = "qcom,sc8280xp-dp", .data = &sc8280xp_dp_descs }, 180 - { .compatible = "qcom,sc8280xp-edp", .data = &sc8280xp_dp_descs }, 181 - { .compatible = "qcom,sdm845-dp", .data = &sc7180_dp_descs }, 182 - { .compatible = "qcom,sm8350-dp", .data = &sc7180_dp_descs }, 183 - { .compatible = "qcom,sm8650-dp", .data = &sm8650_dp_descs }, 184 - { .compatible = "qcom,x1e80100-dp", .data = &x1e80100_dp_descs }, 173 + { .compatible = "qcom,sa8775p-dp", .data = &msm_dp_desc_sa8775p }, 174 + { .compatible = "qcom,sc7180-dp", .data = &msm_dp_desc_sc7180 }, 175 + { .compatible = "qcom,sc7280-dp", .data = &msm_dp_desc_sc7280 }, 176 + { .compatible = "qcom,sc7280-edp", .data = &msm_dp_desc_sc7280 }, 177 + { .compatible = "qcom,sc8180x-dp", .data = &msm_dp_desc_sc8180x }, 178 + { .compatible = "qcom,sc8180x-edp", .data = &msm_dp_desc_sc8180x }, 179 + { .compatible = "qcom,sc8280xp-dp", .data = &msm_dp_desc_sc8280xp }, 180 + { .compatible = "qcom,sc8280xp-edp", .data = &msm_dp_desc_sc8280xp }, 181 + { .compatible = "qcom,sdm845-dp", .data = &msm_dp_desc_sc7180 }, 182 + { .compatible = "qcom,sm8350-dp", .data = &msm_dp_desc_sc7180 }, 183 + { .compatible = "qcom,sm8650-dp", .data = &msm_dp_desc_sm8650 }, 184 + { .compatible = "qcom,x1e80100-dp", .data = &msm_dp_desc_x1e80100 }, 185 185 {} 186 186 }; 187 187