From 06b62d82146fed98fcb846c4d93d85f1dea5d36a Mon Sep 17 00:00:00 2001 From: Patrice CHOTARD Date: Thu, 18 Apr 2013 09:15:20 +0200 Subject: pinctrl: abx500: fix issue when no pdata Fix an issue when probing pinctrl-abx500 with no platform data. Signed-off-by: Patrice Chotard Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-abx500.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/pinctrl') diff --git a/drivers/pinctrl/pinctrl-abx500.c b/drivers/pinctrl/pinctrl-abx500.c index 9b8db91c390..aa17f7580f6 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 */ -- cgit v1.2.3-70-g09d2