Skip to content

Commit 06b62d8

Browse files
pchotardLinus Walleij
authored andcommitted
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>
1 parent 54b7a05 commit 06b62d8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/pinctrl/pinctrl-abx500.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -880,7 +880,6 @@ static int abx500_gpio_probe(struct platform_device *pdev)
880880
pct->parent = dev_get_drvdata(pdev->dev.parent);
881881
pct->chip = abx500gpio_chip;
882882
pct->chip.dev = &pdev->dev;
883-
pct->chip.base = pdata->gpio_base;
884883
pct->chip.base = (np) ? -1 : pdata->gpio_base;
885884

886885
/* initialize the lock */

0 commit comments

Comments
 (0)