Skip to content

Commit

Permalink
sh: ecovec24: don't set unused fields in platform data
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bartosz Golaszewski authored and Lee Jones committed Nov 11, 2019
1 parent f35f06b commit 1c48b27
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/sh/boards/mach-ecovec24/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 1c48b27

Please sign in to comment.