summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-davinci.c
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-01-04 11:26:28 +0300
committerLinus Walleij <linus.walleij@linaro.org>2017-01-11 13:59:43 +0300
commitbb5b06750f1d9b2d632d942d8a72b35a4dd930b9 (patch)
treec76eca5f87460bf50d804b3fc8fe0dc2f5db3868 /drivers/gpio/gpio-davinci.c
parent200d0177b4623cf218239ad7a21466459c174bff (diff)
downloadlinux-bb5b06750f1d9b2d632d942d8a72b35a4dd930b9.tar.xz
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: Keerthy <j-keerthy@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
-rw-r--r--drivers/gpio/gpio-davinci.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-davinci.c b/drivers/gpio/gpio-davinci.c
index 9191056548fe..163f81e3db83 100644
--- a/drivers/gpio/gpio-davinci.c
+++ b/drivers/gpio/gpio-davinci.c
@@ -266,9 +266,6 @@ static int davinci_gpio_probe(struct platform_device *pdev)
if (!regs)
return -ENXIO;
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]);
}