# \[PATCH RFT 4/4\] backlight: gpio: remove unused fields from platform data

- From: Bartosz Golaszewski \<hidden\>
- Date: 2019-06-28 10:03:13 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2019/06/5643246
- Thread: https://ratatoskr.run/linux-sh/2019/06/5643244/t.md

```text
From: Bartosz Golaszewski <redacted>

Remove the platform data fields that nobody uses.

Signed-off-by: Bartosz Golaszewski <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
```
