Skip to contentSkip to conversation

pinctrl: pinctrl-abx500: fix issue when no pdata

PATCH In review Patrice CHOTARD 2 participants 2 messages Apr 18, 2013 1 message not in the archive Pin control

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 pinctrl: pinctrl-abx500: fix issue when no pdata

Fix an issue when probing pinctrl-abx500 with no
platform data

---
 drivers/pinctrl/pinctrl-abx500.c |    1 -
 1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/drivers/pinctrl/pinctrl-abx500.c
index 0cf3fa4..04b1408 100644

drivers/pinctrl/pinctrl-abx500.c +0 -0
@@ -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 */
-- 1.7.10