summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-74xx-mmio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-74xx-mmio.c')
-rw-r--r--drivers/gpio/gpio-74xx-mmio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpio/gpio-74xx-mmio.c b/drivers/gpio/gpio-74xx-mmio.c
index 0464f1ecd20d..c7ac5a9ffb1f 100644
--- a/drivers/gpio/gpio-74xx-mmio.c
+++ b/drivers/gpio/gpio-74xx-mmio.c
@@ -135,8 +135,6 @@ static int mmio_74xx_gpio_probe(struct platform_device *pdev)
priv->gc.ngpio = MMIO_74XX_BIT_CNT(priv->flags);
priv->gc.owner = THIS_MODULE;
- platform_set_drvdata(pdev, priv);
-
return devm_gpiochip_add_data(&pdev->dev, &priv->gc, priv);
}