diff mbox series

gpio: omap: drop omap_gpio_list

Message ID 20180927233844.18443-1-grygorii.strashko@ti.com
State Accepted
Commit c4791bc6e3a6b95bed0ee72cf9784ecbb87074ee
Headers show
Series gpio: omap: drop omap_gpio_list | expand

Commit Message

Grygorii Strashko Sept. 27, 2018, 11:38 p.m. UTC
omap_gpio_list is unused so drop it.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

---
 drivers/gpio/gpio-omap.c | 4 ----
 1 file changed, 4 deletions(-)

-- 
2.10.5

Comments

Tony Lindgren Sept. 28, 2018, 4:49 p.m. UTC | #1
* Grygorii Strashko <grygorii.strashko@ti.com> [180927 23:43]:
> omap_gpio_list is unused so drop it.

> 

> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>


Acked-by: Tony Lindgren <tony@atomide.com>
diff mbox series

Patch

diff --git a/drivers/gpio/gpio-omap.c b/drivers/gpio/gpio-omap.c
index c0d7ae7..287c933 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;
@@ -1493,8 +1491,6 @@  static int omap_gpio_probe(struct platform_device *pdev)
 
 	pm_runtime_put(dev);
 
-	list_add_tail(&bank->node, &omap_gpio_list);
-
 	return 0;
 }