projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b7a05
)
pinctrl: abx500: fix issue when no pdata
author
Patrice CHOTARD
<patrice.chotard@st.com>
Thu, 18 Apr 2013 07:15:20 +0000
(09:15 +0200)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 18 Apr 2013 08:28:04 +0000
(10:28 +0200)
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>
drivers/pinctrl/pinctrl-abx500.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/pinctrl-abx500.c
b/drivers/pinctrl/pinctrl-abx500.c
index
9b8db91
..
aa17f75
100644
(file)
--- 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 */