]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/sitronix: Remove broken backwards-compatibility layer
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 20 May 2025 14:33:59 +0000 (16:33 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Tue, 27 May 2025 08:21:51 +0000 (10:21 +0200)
When moving the Sitronix DRM drivers and renaming their Kconfig symbols,
the old symbols were kept, aiming to provide a seamless migration path
when running "make olddefconfig" or "make oldconfig".

However, the old compatibility symbols are not visible.  Hence unless
they are selected by another symbol (which they are not), they can never
be enabled, and no backwards compatibility is provided.

Drop the broken mechanism and the old symbols.

Fixes: 9b8f32002cddf792 ("drm/sitronix: move tiny Sitronix drivers to their own subdir")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://lore.kernel.org/r/20395b14effe5e2e05a4f0856fdcda51c410329d.1747751592.git.geert+renesas@glider.be
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
drivers/gpu/drm/sitronix/Kconfig

index c069d0d417753bcf62343bd2456b5b98d60b730b..25cae32e5c3ec11399a12f1f2bb2ede91c27d4d4 100644 (file)
@@ -10,10 +10,6 @@ config DRM_ST7571_I2C
 
          if M is selected the module will be called st7571-i2c.
 
-config TINYDRM_ST7586
-       tristate
-       default n
-
 config DRM_ST7586
        tristate "DRM support for Sitronix ST7586 display panels"
        depends on DRM && SPI
@@ -21,17 +17,12 @@ config DRM_ST7586
        select DRM_KMS_HELPER
        select DRM_GEM_DMA_HELPER
        select DRM_MIPI_DBI
-       default TINYDRM_ST7586
        help
          DRM driver for the following Sitronix ST7586 panels:
          * LEGO MINDSTORMS EV3
 
          If M is selected the module will be called st7586.
 
-config TINYDRM_ST7735R
-       tristate
-       default n
-
 config DRM_ST7735R
        tristate "DRM support for Sitronix ST7715R/ST7735R display panels"
        depends on DRM && SPI
@@ -40,7 +31,6 @@ config DRM_ST7735R
        select DRM_GEM_DMA_HELPER
        select DRM_MIPI_DBI
        select BACKLIGHT_CLASS_DEVICE
-       default TINYDRM_ST7735R
        help
          DRM driver for Sitronix ST7715R/ST7735R with one of the following
          LCDs: