]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/panel: lvds: Remove unused members from main structure
authorLiu Ying <victor.liu@nxp.com>
Fri, 29 Aug 2025 07:53:14 +0000 (15:53 +0800)
committerLiu Ying <victor.liu@nxp.com>
Fri, 5 Sep 2025 08:55:45 +0000 (16:55 +0800)
Since commit 03fa454bb666 ("drm/panel: lvds: Simplify mode parsing"),
the width and height members of struct panel_lvds are no longer used.
Remove them.  No functional change.

Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Raphael Gallais-Pou <raphael.gallais-pou@foss.st.com>
Link: https://lore.kernel.org/r/20250829-panel-lvds-remove-width-height-v1-1-acecf0c84dc4@nxp.com
drivers/gpu/drm/panel/panel-lvds.c

index 23fd535d8f479045a87b0f51bec17cd7c66b0f75..46b07f38559f35aa3b0a41662cc29480e53e885f 100644 (file)
@@ -28,8 +28,6 @@ struct panel_lvds {
        struct device *dev;
 
        const char *label;
-       unsigned int width;
-       unsigned int height;
        struct drm_display_mode dmode;
        u32 bus_flags;
        unsigned int bus_format;