aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/omapdrm/dss
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-06-04 11:26:00 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2018-09-03 09:13:29 -0400
commitec68cd5a18e16318969e0e59a7d99513dcfa2d02 (patch)
tree9b7ea2343c76a32a1a2d97e715bfd9bbb2159fad /drivers/gpu/drm/omapdrm/dss
parent52c5dd2a7bed1610a37f89aeb4f73ad8fbba05fc (diff)
drm/omap: dss: hdmi: Rename hdmi_display_(set|check)_timing() functions
The two functions implement the .set_timings() and .check_timings() operations. Rename them to hdmi_disply_set_timings() and hdmi_display_check_timings() respectively to match the operations names and make searching the source code easier. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/dss')
-rw-r--r--drivers/gpu/drm/omapdrm/dss/hdmi4.c12
-rw-r--r--drivers/gpu/drm/omapdrm/dss/hdmi5.c12
2 files changed, 12 insertions, 12 deletions
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi4.c b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
index c92564300446..73ca79471ce4 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi4.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi4.c
@@ -251,8 +251,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
251 hdmi_power_off_core(hdmi); 251 hdmi_power_off_core(hdmi);
252} 252}
253 253
254static int hdmi_display_check_timing(struct omap_dss_device *dssdev, 254static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
255 struct videomode *vm) 255 struct videomode *vm)
256{ 256{
257 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev); 257 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
258 258
@@ -262,8 +262,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
262 return 0; 262 return 0;
263} 263}
264 264
265static void hdmi_display_set_timing(struct omap_dss_device *dssdev, 265static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
266 struct videomode *vm) 266 struct videomode *vm)
267{ 267{
268 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev); 268 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
269 269
@@ -508,8 +508,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
508 .enable = hdmi_display_enable, 508 .enable = hdmi_display_enable,
509 .disable = hdmi_display_disable, 509 .disable = hdmi_display_disable,
510 510
511 .check_timings = hdmi_display_check_timing, 511 .check_timings = hdmi_display_check_timings,
512 .set_timings = hdmi_display_set_timing, 512 .set_timings = hdmi_display_set_timings,
513 513
514 .read_edid = hdmi_read_edid, 514 .read_edid = hdmi_read_edid,
515 515
diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5.c b/drivers/gpu/drm/omapdrm/dss/hdmi5.c
index 2aaa8ee61662..259cd39d0c1d 100644
--- a/drivers/gpu/drm/omapdrm/dss/hdmi5.c
+++ b/drivers/gpu/drm/omapdrm/dss/hdmi5.c
@@ -250,8 +250,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
250 hdmi_power_off_core(hdmi); 250 hdmi_power_off_core(hdmi);
251} 251}
252 252
253static int hdmi_display_check_timing(struct omap_dss_device *dssdev, 253static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
254 struct videomode *vm) 254 struct videomode *vm)
255{ 255{
256 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev); 256 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
257 257
@@ -261,8 +261,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
261 return 0; 261 return 0;
262} 262}
263 263
264static void hdmi_display_set_timing(struct omap_dss_device *dssdev, 264static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
265 struct videomode *vm) 265 struct videomode *vm)
266{ 266{
267 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev); 267 struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
268 268
@@ -502,8 +502,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
502 .enable = hdmi_display_enable, 502 .enable = hdmi_display_enable,
503 .disable = hdmi_display_disable, 503 .disable = hdmi_display_disable,
504 504
505 .check_timings = hdmi_display_check_timing, 505 .check_timings = hdmi_display_check_timings,
506 .set_timings = hdmi_display_set_timing, 506 .set_timings = hdmi_display_set_timings,
507 507
508 .read_edid = hdmi_read_edid, 508 .read_edid = hdmi_read_edid,
509 509