Skip to content

Commit ec68cd5

Browse files
pinchartltomba
authored andcommitted
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>
1 parent 52c5dd2 commit ec68cd5

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

drivers/gpu/drm/omapdrm/dss/hdmi4.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
251251
hdmi_power_off_core(hdmi);
252252
}
253253

254-
static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
255-
struct videomode *vm)
254+
static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
255+
struct videomode *vm)
256256
{
257257
struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
258258

@@ -262,8 +262,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
262262
return 0;
263263
}
264264

265-
static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
266-
struct videomode *vm)
265+
static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
266+
struct videomode *vm)
267267
{
268268
struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
269269

@@ -508,8 +508,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
508508
.enable = hdmi_display_enable,
509509
.disable = hdmi_display_disable,
510510

511-
.check_timings = hdmi_display_check_timing,
512-
.set_timings = hdmi_display_set_timing,
511+
.check_timings = hdmi_display_check_timings,
512+
.set_timings = hdmi_display_set_timings,
513513

514514
.read_edid = hdmi_read_edid,
515515

drivers/gpu/drm/omapdrm/dss/hdmi5.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
250250
hdmi_power_off_core(hdmi);
251251
}
252252

253-
static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
254-
struct videomode *vm)
253+
static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
254+
struct videomode *vm)
255255
{
256256
struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
257257

@@ -261,8 +261,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
261261
return 0;
262262
}
263263

264-
static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
265-
struct videomode *vm)
264+
static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
265+
struct videomode *vm)
266266
{
267267
struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
268268

@@ -502,8 +502,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
502502
.enable = hdmi_display_enable,
503503
.disable = hdmi_display_disable,
504504

505-
.check_timings = hdmi_display_check_timing,
506-
.set_timings = hdmi_display_set_timing,
505+
.check_timings = hdmi_display_check_timings,
506+
.set_timings = hdmi_display_set_timings,
507507

508508
.read_edid = hdmi_read_edid,
509509

0 commit comments

Comments
 (0)