aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Golaszewski <[email protected]>2019-10-22 10:36:27 +0200
committerLee Jones <[email protected]>2019-11-11 11:34:01 +0000
commit1c48b27a7868bf2e6bdb911285f6252339ad185b (patch)
treeafd3b3ce62f93a1accad79b3d728cb15ef85b1ff
parentf35f06b784a1603aae3542918b09da8c8627e9fb (diff)
sh: ecovec24: don't set unused fields in platform data
Platform data fields other than fbdev are no longer used by the backlight driver. Remove them. Signed-off-by: Bartosz Golaszewski <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Tested-by: Jacopo Mondi <[email protected]> Signed-off-by: Lee Jones <[email protected]>
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index aaa8ea62636f..dd427bac5cde 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -386,9 +386,6 @@ static struct property_entry gpio_backlight_props[] = {
static struct gpio_backlight_platform_data gpio_backlight_data = {
.fbdev = &lcdc_device.dev,
- .gpio = GPIO_PTR1,
- .def_value = 1,
- .name = "backlight",
};
static const struct platform_device_info gpio_backlight_device_info = {