Commit bb5b0675 authored by Keerthy's avatar Keerthy Committed by Linus Walleij

gpio: davinci: Remove redundant members davinci_gpio_controller stuct

davinci_gpio_controller struct has set_data, in_data, clr_data
members that are assigned and never used.
Signed-off-by: default avatarKeerthy <j-keerthy@ti.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 200d0177
...@@ -266,9 +266,6 @@ static int davinci_gpio_probe(struct platform_device *pdev) ...@@ -266,9 +266,6 @@ static int davinci_gpio_probe(struct platform_device *pdev)
if (!regs) if (!regs)
return -ENXIO; return -ENXIO;
chips[i].regs = regs; chips[i].regs = regs;
chips[i].set_data = &regs->set_data;
chips[i].clr_data = &regs->clr_data;
chips[i].in_data = &regs->in_data;
gpiochip_add_data(&chips[i].chip, &chips[i]); gpiochip_add_data(&chips[i].chip, &chips[i]);
} }
......
...@@ -33,9 +33,6 @@ struct davinci_gpio_controller { ...@@ -33,9 +33,6 @@ struct davinci_gpio_controller {
/* Serialize access to GPIO registers */ /* Serialize access to GPIO registers */
spinlock_t lock; spinlock_t lock;
void __iomem *regs; void __iomem *regs;
void __iomem *set_data;
void __iomem *clr_data;
void __iomem *in_data;
int gpio_unbanked; int gpio_unbanked;
unsigned gpio_irq; unsigned gpio_irq;
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment