summaryrefslogtreecommitdiff
path: root/drivers/pinctrl
diff options
context:
space:
mode:
authorPatrice CHOTARD <patrice.chotard@st.com>2013-04-18 11:15:20 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-04-18 12:28:04 +0400
commit06b62d82146fed98fcb846c4d93d85f1dea5d36a (patch)
tree69598550ea7eff3721a605616e5cfedaaac1dd15 /drivers/pinctrl
parent54b7a05660a02b29382ed84cdeb8dd93eb8c8494 (diff)
downloadlinux-06b62d82146fed98fcb846c4d93d85f1dea5d36a.tar.xz
pinctrl: abx500: fix issue when no pdata
Fix an issue when probing pinctrl-abx500 with no platform data. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl')
-rw-r--r--drivers/pinctrl/pinctrl-abx500.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c
index 9b8db91c390f..aa17f7580f61 100644
--- a/drivers/pinctrl/pinctrl-abx500.c
+++ b/drivers/pinctrl/pinctrl-abx500.c
@@ -880,7 +880,6 @@ static int abx500_gpio_probe(struct platform_device *pdev)
pct->parent = dev_get_drvdata(pdev->dev.parent);
pct->chip = abx500gpio_chip;
pct->chip.dev = &pdev->dev;
- pct->chip.base = pdata->gpio_base;
pct->chip.base = (np) ? -1 : pdata->gpio_base;
/* initialize the lock */