drm/panel: panel-innolux: drop unused variable
authorSam Ravnborg <sam@ravnborg.org>
Sun, 26 May 2019 18:05:31 +0000 (20:05 +0200)
committerSam Ravnborg <sam@ravnborg.org>
Tue, 28 May 2019 15:14:53 +0000 (17:14 +0200)
The num_supplies variable is not used, delete it.
Build tested.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190526180532.1641-2-sam@ravnborg.org
drivers/gpu/drm/panel/panel-innolux-p079zca.c

index 8e5724b63f1f80f2ef50a6b4d2ca8c4a92d7e4dd..959d57db0150a71ce8c02dabc097966247e7ad30 100644 (file)
@@ -55,7 +55,6 @@ struct innolux_panel {
 
        struct backlight_device *backlight;
        struct regulator_bulk_data *supplies;
-       unsigned int num_supplies;
        struct gpio_desc *enable_gpio;
 
        bool prepared;