drm/logicvc: Remove unnecessary include statements for drm_crtc_helper.h
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 16 Jan 2023 13:12:25 +0000 (14:12 +0100)
committerThomas Zimmermann <tzimmermann@suse.de>
Wed, 18 Jan 2023 08:25:31 +0000 (09:25 +0100)
Several source files include drm_crtc_helper.h without needing it or
only to get its transitive include statements; leading to unnecessary
compile-time dependencies.

Drop drm_crtc_helper.h where possible.

v2:
* update commit message (Sam)

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230116131235.18917-13-tzimmermann@suse.de
drivers/gpu/drm/logicvc/logicvc_interface.c
drivers/gpu/drm/logicvc/logicvc_mode.c

index 815cebb4c4ca168c212b85c08cd4c1799248f0e5..689049d395c0d4a4ceaf757748c16a6f1caa1ce7 100644 (file)
@@ -9,7 +9,6 @@
 #include <drm/drm_atomic_helper.h>
 #include <drm/drm_bridge.h>
 #include <drm/drm_connector.h>
-#include <drm/drm_crtc_helper.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_encoder.h>
 #include <drm/drm_gem_dma_helper.h>
index 9971950ebd4ee8c41b701c878213e1cc25385b23..3cf04b70bd2712765785edf71f37368c55f78162 100644 (file)
@@ -8,7 +8,6 @@
 
 #include <drm/drm_atomic.h>
 #include <drm/drm_atomic_helper.h>
-#include <drm/drm_crtc_helper.h>
 #include <drm/drm_drv.h>
 #include <drm/drm_gem_dma_helper.h>
 #include <drm/drm_gem_framebuffer_helper.h>