summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-omap.c
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2018-09-28 01:38:44 +0200
committerLinus Walleij <linus.walleij@linaro.org>2018-10-01 13:23:23 +0200
commitc4791bc6e3a6b95bed0ee72cf9784ecbb87074ee (patch)
tree785340d46a6c3f7d8a58c78c145b8b57934a4f66 /drivers/gpio/gpio-omap.c
parentAccept partial 'gpio-line-names' property. (diff)
downloadlinux-c4791bc6e3a6b95bed0ee72cf9784ecbb87074ee.tar.xz
linux-c4791bc6e3a6b95bed0ee72cf9784ecbb87074ee.zip
gpio: omap: drop omap_gpio_list
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>
Diffstat (limited to 'drivers/gpio/gpio-omap.c')
-rw-r--r--drivers/gpio/gpio-omap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index cab14f2297aa..c081f399cef5 100644
--- a/drivers/gpio/gpio-omap.c
+++ b/drivers/gpio/gpio-omap.c
@@ -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;
}