Skip to content

Commit c36a410

Browse files
committed
drm/msm/dp: tidy up platform data names
Follow the established symbol name pattern and rename platform data structures. Reviewed-by: Abhinav Kumar <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Patchwork: https://patchwork.freedesktop.org/patch/622213/ Link: https://lore.kernel.org/r/[email protected]
1 parent f47e87b commit c36a410

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

drivers/gpu/drm/msm/dp/dp_display.c

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -118,33 +118,33 @@ struct msm_dp_desc {
118118
bool wide_bus_supported;
119119
};
120120

121-
static const struct msm_dp_desc sa8775p_dp_descs[] = {
121+
static const struct msm_dp_desc msm_dp_desc_sa8775p[] = {
122122
{ .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
123123
{ .io_start = 0x0af5c000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
124124
{ .io_start = 0x22154000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true },
125125
{ .io_start = 0x2215c000, .id = MSM_DP_CONTROLLER_3, .wide_bus_supported = true },
126126
{}
127127
};
128128

129-
static const struct msm_dp_desc sc7180_dp_descs[] = {
129+
static const struct msm_dp_desc msm_dp_desc_sc7180[] = {
130130
{ .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
131131
{}
132132
};
133133

134-
static const struct msm_dp_desc sc7280_dp_descs[] = {
134+
static const struct msm_dp_desc msm_dp_desc_sc7280[] = {
135135
{ .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
136136
{ .io_start = 0x0aea0000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
137137
{}
138138
};
139139

140-
static const struct msm_dp_desc sc8180x_dp_descs[] = {
140+
static const struct msm_dp_desc msm_dp_desc_sc8180x[] = {
141141
{ .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
142142
{ .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
143143
{ .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true },
144144
{}
145145
};
146146

147-
static const struct msm_dp_desc sc8280xp_dp_descs[] = {
147+
static const struct msm_dp_desc msm_dp_desc_sc8280xp[] = {
148148
{ .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
149149
{ .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
150150
{ .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true },
@@ -156,12 +156,12 @@ static const struct msm_dp_desc sc8280xp_dp_descs[] = {
156156
{}
157157
};
158158

159-
static const struct msm_dp_desc sm8650_dp_descs[] = {
159+
static const struct msm_dp_desc msm_dp_desc_sm8650[] = {
160160
{ .io_start = 0x0af54000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
161161
{}
162162
};
163163

164-
static const struct msm_dp_desc x1e80100_dp_descs[] = {
164+
static const struct msm_dp_desc msm_dp_desc_x1e80100[] = {
165165
{ .io_start = 0x0ae90000, .id = MSM_DP_CONTROLLER_0, .wide_bus_supported = true },
166166
{ .io_start = 0x0ae98000, .id = MSM_DP_CONTROLLER_1, .wide_bus_supported = true },
167167
{ .io_start = 0x0ae9a000, .id = MSM_DP_CONTROLLER_2, .wide_bus_supported = true },
@@ -170,18 +170,18 @@ static const struct msm_dp_desc x1e80100_dp_descs[] = {
170170
};
171171

172172
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 },
185185
{}
186186
};
187187

0 commit comments

Comments
 (0)