sh: ecovec24: don't set unused fields in platform data
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 22 Oct 2019 08:36:27 +0000 (10:36 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 11 Nov 2019 11:34:01 +0000 (11:34 +0000)
Platform data fields other than fbdev are no longer used by the
backlight driver. Remove them.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
arch/sh/boards/mach-ecovec24/setup.c

index aaa8ea62636f8fd34b39356600facb6f5fa72865..dd427bac5cdeb79f682cf72d12bae2c3ae2451b0 100644 (file)
@@ -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 = {