linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: omap: drop omap_gpio_list
@ 2018-09-27 23:38 Grygorii Strashko
  2018-09-28 16:49 ` Tony Lindgren
  2018-10-01 11:24 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Grygorii Strashko @ 2018-09-27 23:38 UTC (permalink / raw)
  To: Linus Walleij, Tony Lindgren
  Cc: linux-omap, linux-gpio, linux-kernel, Grygorii Strashko

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(-)

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;
 }
 
-- 
2.10.5


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: omap: drop omap_gpio_list
  2018-09-27 23:38 [PATCH] gpio: omap: drop omap_gpio_list Grygorii Strashko
@ 2018-09-28 16:49 ` Tony Lindgren
  2018-10-01 11:24 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Tony Lindgren @ 2018-09-28 16:49 UTC (permalink / raw)
  To: Grygorii Strashko; +Cc: Linus Walleij, linux-omap, linux-gpio, linux-kernel

* 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>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] gpio: omap: drop omap_gpio_list
  2018-09-27 23:38 [PATCH] gpio: omap: drop omap_gpio_list Grygorii Strashko
  2018-09-28 16:49 ` Tony Lindgren
@ 2018-10-01 11:24 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2018-10-01 11:24 UTC (permalink / raw)
  To: Grygorii Strashko
  Cc: ext Tony Lindgren, Linux-OMAP, open list:GPIO SUBSYSTEM, linux-kernel

On Fri, Sep 28, 2018 at 1:38 AM Grygorii Strashko
<grygorii.strashko@ti.com> wrote:

> omap_gpio_list is unused so drop it.
>
> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>

Patch applied with Tony's ACK.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-10-01 11:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-27 23:38 [PATCH] gpio: omap: drop omap_gpio_list Grygorii Strashko
2018-09-28 16:49 ` Tony Lindgren
2018-10-01 11:24 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).