From: Lespiau, Damien Date: Mon, 23 Sep 2013 13:48:09 +0000 (+0100) Subject: drm: Fix comment referring to the long gone ->probe() connector vfunc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=1eee814dfd509e7fdb28361303c9b0ac927ff4c1;p=openwrt%2Fstaging%2Fblogic.git drm: Fix comment referring to the long gone ->probe() connector vfunc drm_helper_probe_single_connector_modes() can be used to implement ->fill_modes(), not ->probe(). Signed-off-by: Damien Lespiau Reviewed-by: Daniel Vetter Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/drm_crtc_helper.c b/drivers/gpu/drm/drm_crtc_helper.c index c722c3b5404d..c2a525dcf0d4 100644 --- a/drivers/gpu/drm/drm_crtc_helper.c +++ b/drivers/gpu/drm/drm_crtc_helper.c @@ -105,9 +105,9 @@ static void drm_mode_validate_flag(struct drm_connector *connector, * then culled (based on validity and the @maxX, @maxY parameters) and put into * the normal modes list. * - * Intended to be use as a generic implementation of the ->probe() @connector - * callback for drivers that use the crtc helpers for output mode filtering and - * detection. + * Intended to be use as a generic implementation of the ->fill_modes() + * @connector vfunc for drivers that use the crtc helpers for output mode + * filtering and detection. * * RETURNS: * Number of modes found on @connector.