From: Bartosz Golaszewski Date: Tue, 22 Oct 2019 08:36:27 +0000 (+0200) Subject: sh: ecovec24: don't set unused fields in platform data X-Git-Tag: v5.15~5014^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c48b27a7868bf2e6bdb911285f6252339ad185b;p=platform%2Fkernel%2Flinux-starfive.git 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 Reviewed-by: Andy Shevchenko Reviewed-by: Linus Walleij Tested-by: Jacopo Mondi Signed-off-by: Lee Jones --- diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c index aaa8ea6..dd427ba 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 = {