Thread (8 messages) 8 messages, 1 author, 2019-09-02

[RESEND PATCH v3 4/7] backlight: gpio: remove unused fields from platform data

flat view
STALE2601d SUPERSEDED: 10 (8M)

From: Bartosz Golaszewski <hidden>
Date: 2019-09-02 12:35:23
Also in: dri-devel, linux-sh, lkml
Subsystem: the rest · Maintainer: Linus Torvalds

Revision v3 of 8 in this series; 3 review trailers.

Revisions (8)
  1. v1 [diff vs current]
  2. v2 [diff vs current]
  3. v3
  4. v3 current
  5. v4 [diff vs current]
  6. v5 [diff vs current]
  7. v6 [diff vs current]
  8. v7 [diff vs current]
From: Bartosz Golaszewski <redacted>

Remove the platform data fields that nobody uses.

Signed-off-by: Bartosz Golaszewski <redacted>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <redacted>
Reviewed-by: Daniel Thompson <redacted>
---
 include/linux/platform_data/gpio_backlight.h | 3 ---
 1 file changed, 3 deletions(-)
diff --git a/include/linux/platform_data/gpio_backlight.h b/include/linux/platform_data/gpio_backlight.h
index 34179d600360..1a8b5b1946fe 100644
--- a/include/linux/platform_data/gpio_backlight.h
+++ b/include/linux/platform_data/gpio_backlight.h
@@ -9,9 +9,6 @@ struct device;
 
 struct gpio_backlight_platform_data {
 	struct device *fbdev;
-	int gpio;
-	int def_value;
-	const char *name;
 };
 
 #endif
-- 
2.21.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help