Commit ec68cd5a authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Tomi Valkeinen
Browse files

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: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 52c5dd2a
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ 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,
static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
				      struct videomode *vm)
{
	struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
@@ -262,7 +262,7 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
	return 0;
}

static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
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,

+6 −6
Original line number Diff line number Diff line
@@ -250,7 +250,7 @@ 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,
static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
				      struct videomode *vm)
{
	struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);
@@ -261,7 +261,7 @@ static int hdmi_display_check_timing(struct omap_dss_device *dssdev,
	return 0;
}

static void hdmi_display_set_timing(struct omap_dss_device *dssdev,
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,