浏览代码

gpio: tegra186: Remove tegra186_gpio_lock_class

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

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Axel Lin 7 年之前
父节点
当前提交
24f0966c3e
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      drivers/gpio/gpio-tegra186.c

+ 0 - 3
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,
 	.xlate = tegra186_gpio_irq_domain_xlate,
 };
 };
 
 
-static struct lock_class_key tegra186_gpio_lock_class;
-
 static int tegra186_gpio_probe(struct platform_device *pdev)
 static int tegra186_gpio_probe(struct platform_device *pdev)
 {
 {
 	unsigned int i, j, offset;
 	unsigned int i, j, offset;
@@ -496,7 +494,6 @@ static int tegra186_gpio_probe(struct platform_device *pdev)
 	irq->chip = &gpio->intc;
 	irq->chip = &gpio->intc;
 	irq->domain_ops = &tegra186_gpio_irq_domain_ops;
 	irq->domain_ops = &tegra186_gpio_irq_domain_ops;
 	irq->handler = handle_simple_irq;
 	irq->handler = handle_simple_irq;
-	irq->lock_key = &tegra186_gpio_lock_class;
 	irq->default_type = IRQ_TYPE_NONE;
 	irq->default_type = IRQ_TYPE_NONE;
 	irq->parent_handler = tegra186_gpio_irq;
 	irq->parent_handler = tegra186_gpio_irq;
 	irq->parent_handler_data = gpio;
 	irq->parent_handler_data = gpio;