diff mbox series

gpio: tegra186: Remove tegra186_gpio_lock_class

Message ID 20171110061055.12431-1-axel.lin@ingics.com
State New
Headers show
Series gpio: tegra186: Remove tegra186_gpio_lock_class | expand

Commit Message

Axel Lin Nov. 10, 2017, 6:10 a.m. UTC
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(-)

Comments

Thierry Reding Nov. 10, 2017, 11:12 a.m. UTC | #1
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>
Linus Walleij Nov. 13, 2017, 10:43 a.m. UTC | #2
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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

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;