summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-sama5d2-piobu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-sama5d2-piobu.c')
-rw-r--r--drivers/gpio/gpio-sama5d2-piobu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-sama5d2-piobu.c b/drivers/gpio/gpio-sama5d2-piobu.c
index 767c33ae3213..d89da7300ddd 100644
--- a/drivers/gpio/gpio-sama5d2-piobu.c
+++ b/drivers/gpio/gpio-sama5d2-piobu.c
@@ -189,7 +189,6 @@ static int sama5d2_piobu_probe(struct platform_device *pdev)
if (!piobu)
return -ENOMEM;
- platform_set_drvdata(pdev, piobu);
piobu->chip.label = pdev->name;
piobu->chip.parent = &pdev->dev;
piobu->chip.owner = THIS_MODULE,