Skip to contentSkip to conversation

gpio: tegra186: Remove tegra186_gpio_lock_class

PATCH In review Axel Lin 3 participants 3 messages Nov 10, 2017 – Nov 13, 2017

Subsystems (2)
lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 gpio: tegra186: Remove tegra186_gpio_lock_class

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

---
 drivers/gpio/gpio-tegra186.c | 3 ---
 1 file changed, 3 deletions(-)
drivers/gpio/gpio-tegra186.c +0 -3
index b55b5ca882c7..7f1aa4c21e0d 100644
@@ -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;
Signature · 1 line
2.11.0