linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class
@ 2017-11-10  6:10 Axel Lin
  2017-11-10 11:12 ` Thierry Reding
  2017-11-13 10:43 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2017-11-10  6:10 UTC (permalink / raw)
  To: Linus Walleij; +Cc: Thierry Reding, Jonathan Hunter, linux-gpio, Axel Lin

This is no longer required after commit 959bc7b22bd2
("gpio: Automatically add lockdep keys")

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 drivers/gpio/gpio-tegra186.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpio/gpio-tegra186.c b/drivers/gpio/gpio-tegra186.c
index b55b5ca882c7..7f1aa4c21e0d 100644
--- a/drivers/gpio/gpio-tegra186.c
+++ b/drivers/gpio/gpio-tegra186.c
@@ -404,8 +404,6 @@ static const struct irq_domain_ops tegra186_gpio_irq_domain_ops = {
 	.xlate = tegra186_gpio_irq_domain_xlate,
 };
 
-static struct lock_class_key tegra186_gpio_lock_class;
-
 static int tegra186_gpio_probe(struct platform_device *pdev)
 {
 	unsigned int i, j, offset;
@@ -496,7 +494,6 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
 	irq->chip = &gpio->intc;
 	irq->domain_ops = &tegra186_gpio_irq_domain_ops;
 	irq->handler = handle_simple_irq;
-	irq->lock_key = &tegra186_gpio_lock_class;
 	irq->default_type = IRQ_TYPE_NONE;
 	irq->parent_handler = tegra186_gpio_irq;
 	irq->parent_handler_data = gpio;
-- 
2.11.0


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

* Re: [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class
  2017-11-10  6:10 [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class Axel Lin
@ 2017-11-10 11:12 ` Thierry Reding
  2017-11-13 10:43 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Thierry Reding @ 2017-11-10 11:12 UTC (permalink / raw)
  To: Axel Lin; +Cc: Linus Walleij, Jonathan Hunter, linux-gpio

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

On Fri, Nov 10, 2017 at 02:10:55PM +0800, Axel Lin wrote:
> This is no longer required after commit 959bc7b22bd2
> ("gpio: Automatically add lockdep keys")
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>
> ---
>  drivers/gpio/gpio-tegra186.c | 3 ---
>  1 file changed, 3 deletions(-)

I have the same patch in my local tree as a follow-up cleanup for the
series, so:

Acked-by: Thierry Reding <treding@nvidia.com>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* Re: [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class
  2017-11-10  6:10 [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class Axel Lin
  2017-11-10 11:12 ` Thierry Reding
@ 2017-11-13 10:43 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2017-11-13 10:43 UTC (permalink / raw)
  To: Axel Lin; +Cc: Thierry Reding, Jonathan Hunter, linux-gpio

On Fri, Nov 10, 2017 at 7:10 AM, Axel Lin <axel.lin@ingics.com> wrote:

> This is no longer required after commit 959bc7b22bd2
> ("gpio: Automatically add lockdep keys")
>
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Patch applied with Thierry's ACK.

Yours,
Linus Walleij

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

end of thread, other threads:[~2017-11-13 10:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-10  6:10 [PATCH] gpio: tegra186: Remove tegra186_gpio_lock_class Axel Lin
2017-11-10 11:12 ` Thierry Reding
2017-11-13 10:43 ` 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).