Skip to contentSkip to conversation

drm/panel: ili9341: Remove unused member from struct ili9341

PATCH Applied Andy Shevchenko 2 participants 3 messages May 19, 2025 – Jun 5, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/panel: ili9341: Remove unused member from struct ili9341

struct device *dev from struct ili9341 is not used anywhere, remove it.

---
 drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 1 -
 1 file changed, 1 deletion(-)
drivers/gpu/drm/panel/panel-ilitek-ili9341.c +0 -1
index ff39f5dd4097..2b5bd83933e3 100644
@@ -173,7 +173,6 @@ struct ili9341_config {
 };
 
 struct ili9341 {
-	struct device *dev;
 	const struct ili9341_config *conf;
 	struct drm_panel panel;
 	struct gpio_desc *reset_gpio;
Signature · 1 line
2.47.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Andy Shevchenko

struct device *dev from struct ili9341 is not used anywhere, remove it.

---
  drivers/gpu/drm/panel/panel-ilitek-ili9341.c | 1 -
  1 file changed, 1 deletion(-)
drivers/gpu/drm/panel/panel-ilitek-ili9341.c +0 -0
index ff39f5dd4097..2b5bd83933e3 100644

drivers/gpu/drm/panel/panel-ilitek-ili9341.c struct ili9341_config { · line 178

Quoted 7 lines
drivers/gpu/drm/panel/panel-ilitek-ili9341.c +0 -1
@@ -173,7 +173,6 @@ struct ili9341_config {
  };
 
  struct ili9341 {
-	struct device *dev;
  	const struct ili9341_config *conf;
  	struct drm_panel panel;
  	struct gpio_desc *reset_gpio;