drm/edid: s/drm_gtf_modes_for_range/drm_dmt_modes_for_range/
authorAdam Jackson <ajax@redhat.com>
Fri, 13 Apr 2012 20:33:33 +0000 (16:33 -0400)
committerDave Airlie <airlied@redhat.com>
Fri, 20 Apr 2012 11:57:14 +0000 (12:57 +0100)
Slightly more honest naming.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Tested-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_edid.c

index 043fa5a2412c6fb053323474b60020ecb6fc0183..cb40611a1d1d9e38d0dd30dd19289ba7080d6259 100644 (file)
@@ -1017,7 +1017,7 @@ mode_in_range(const struct drm_display_mode *mode, struct edid *edid,
 }
 
 static int
-drm_gtf_modes_for_range(struct drm_connector *connector, struct edid *edid,
+drm_dmt_modes_for_range(struct drm_connector *connector, struct edid *edid,
                        struct detailed_timing *timing)
 {
        int i, modes = 0;
@@ -1045,7 +1045,7 @@ do_inferred_modes(struct detailed_timing *timing, void *c)
        int gtf = (closure->edid->features & DRM_EDID_FEATURE_DEFAULT_GTF);
 
        if (gtf && data->type == EDID_DETAIL_MONITOR_RANGE)
-               closure->modes += drm_gtf_modes_for_range(closure->connector,
+               closure->modes += drm_dmt_modes_for_range(closure->connector,
                                                          closure->edid,
                                                          timing);
 }