Skip to content

Commit 1c48b27

Browse files
brglLee Jones
authored andcommitted
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]>
1 parent f35f06b commit 1c48b27

File tree

1 file changed

+0
-3
lines changed
  • arch/sh/boards/mach-ecovec24

1 file changed

+0
-3
lines changed

arch/sh/boards/mach-ecovec24/setup.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ static struct property_entry gpio_backlight_props[] = {
386386

387387
static struct gpio_backlight_platform_data gpio_backlight_data = {
388388
.fbdev = &lcdc_device.dev,
389-
.gpio = GPIO_PTR1,
390-
.def_value = 1,
391-
.name = "backlight",
392389
};
393390

394391
static const struct platform_device_info gpio_backlight_device_info = {

0 commit comments

Comments
 (0)