[PATCH 1/8] drm/panel: remove unnecessary forward declaration

Luca Ceresoli posted 8 patches 10 months, 1 week ago
[PATCH 1/8] drm/panel: remove unnecessary forward declaration
Posted by Luca Ceresoli 10 months, 1 week ago
'struct drm_device' is not used at all in this file since commit
aa6c43644bc5 ("drm/panel: drop drm_device from drm_panel").

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 include/drm/drm_panel.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/drm/drm_panel.h b/include/drm/drm_panel.h
index 10015891b056f816c7a992a2052b36fd26943c5b..a9c042c8dea1a82ef979c7a68204e0b55483fc28 100644
--- a/include/drm/drm_panel.h
+++ b/include/drm/drm_panel.h
@@ -33,7 +33,6 @@ struct backlight_device;
 struct dentry;
 struct device_node;
 struct drm_connector;
-struct drm_device;
 struct drm_panel_follower;
 struct drm_panel;
 struct display_timing;

-- 
2.34.1
Re: [PATCH 1/8] drm/panel: remove unnecessary forward declaration
Posted by Doug Anderson 10 months, 1 week ago
Hi,

On Thu, Feb 6, 2025 at 9:02 AM Luca Ceresoli <luca.ceresoli@bootlin.com> wrote:
>
> 'struct drm_device' is not used at all in this file since commit
> aa6c43644bc5 ("drm/panel: drop drm_device from drm_panel").
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
> ---
>  include/drm/drm_panel.h | 1 -
>  1 file changed, 1 deletion(-)

Reviewed-by: Douglas Anderson <dianders@chromium.org>