gpio: omap: drop omap_gpio_list
authorGrygorii Strashko <grygorii.strashko@ti.com>
Thu, 27 Sep 2018 23:38:44 +0000 (18:38 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 1 Oct 2018 11:23:23 +0000 (13:23 +0200)
omap_gpio_list is unused so drop it.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-omap.c

index cab14f2297aa91a3a35b397091f3ccf6e0d01d6d..c081f399cef5da4aa021cceb58a41ebdc53b2ee1 100644 (file)
@@ -34,8 +34,6 @@
 #define OMAP_GPIO_QUIRK_IDLE_REMOVE_TRIGGER    BIT(2)
 #define OMAP_GPIO_QUIRK_DEFERRED_WKUP_EN       BIT(1)
 
-static LIST_HEAD(omap_gpio_list);
-
 struct gpio_regs {
        u32 irqenable1;
        u32 irqenable2;
@@ -1478,8 +1476,6 @@ static int omap_gpio_probe(struct platform_device *pdev)
 
        pm_runtime_put(dev);
 
-       list_add_tail(&bank->node, &omap_gpio_list);
-
        return 0;
 }