drm/omap: dss: hdmi: Rename hdmi_display_(set|check)_timing() functions
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 4 Jun 2018 15:26:00 +0000 (18:26 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 3 Sep 2018 13:13:29 +0000 (16:13 +0300)
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>
drivers/gpu/drm/omapdrm/dss/hdmi4.c
drivers/gpu/drm/omapdrm/dss/hdmi5.c

index c925643..73ca794 100644 (file)
@@ -251,8 +251,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
        hdmi_power_off_core(hdmi);
 }
 
-static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
-                                    struct videomode *vm)
+static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
+                                     struct videomode *vm)
 {
        struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
 
@@ -262,8 +262,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
        return 0;
 }
 
-static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
-                                   struct videomode *vm)
+static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
+                                    struct videomode *vm)
 {
        struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
 
@@ -508,8 +508,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
        .enable                 = hdmi_display_enable,
        .disable                = hdmi_display_disable,
 
-       .check_timings          = hdmi_display_check_timing,
-       .set_timings            = hdmi_display_set_timing,
+       .check_timings          = hdmi_display_check_timings,
+       .set_timings            = hdmi_display_set_timings,
 
        .read_edid              = hdmi_read_edid,
 
index 2aaa8ee..259cd39 100644 (file)
@@ -250,8 +250,8 @@ static void hdmi_power_off_full(struct omap_hdmi *hdmi)
        hdmi_power_off_core(hdmi);
 }
 
-static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
-                                    struct videomode *vm)
+static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
+                                     struct videomode *vm)
 {
        struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
 
@@ -261,8 +261,8 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
        return 0;
 }
 
-static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
-                                   struct videomode *vm)
+static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
+                                    struct videomode *vm)
 {
        struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
 
@@ -502,8 +502,8 @@ static const struct omap_dss_device_ops hdmi_ops = {
        .enable                 = hdmi_display_enable,
        .disable                = hdmi_display_disable,
 
-       .check_timings          = hdmi_display_check_timing,
-       .set_timings            = hdmi_display_set_timing,
+       .check_timings          = hdmi_display_check_timings,
+       .set_timings            = hdmi_display_set_timings,
 
        .read_edid              = hdmi_read_edid,