]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drm/udl: Clear struct drm_connector_funcs.dpms
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 7 Feb 2020 14:16:02 +0000 (15:16 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Mon, 10 Feb 2020 08:24:09 +0000 (09:24 +0100)
Atomic modesetting doesn't use struct drm_connector_funcs.dpms and
the set function, drm_helper_connector_dpms(), wouldn't support it
anyway. So keep the pointer to NULL.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200207141602.4760-2-tzimmermann@suse.de
drivers/gpu/drm/udl/udl_connector.c

index e9671d38b4a0bd448046de431dd300920c8ce7bc..0afdfb0d1fe1197d78115cff72830c1848842a23 100644 (file)
@@ -109,7 +109,6 @@ static const struct drm_connector_helper_funcs udl_connector_helper_funcs = {
 };
 
 static const struct drm_connector_funcs udl_connector_funcs = {
-       .dpms = drm_helper_connector_dpms,
        .reset = drm_atomic_helper_connector_reset,
        .detect = udl_detect,
        .fill_modes = drm_helper_probe_single_connector_modes,