projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6e99ab
)
gpio: use pinctrl device name for add range
author
Haojian Zhuang
<haojian.zhuang@linaro.org>
Fri, 18 Jan 2013 07:31:07 +0000
(15:31 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 21 Jan 2013 14:16:22 +0000
(15:16 +0100)
gpiochip_add_pin_range() needs pinctrl device name as parameter.
Currently the parameter is pinctrl description name. So fix it.
Signed-off-by: Haojian Zhuang <haojian.zhuang@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-of.c
patch
|
blob
|
history
diff --git
a/drivers/gpio/gpiolib-of.c
b/drivers/gpio/gpiolib-of.c
index d542a141811a00b2f49589ba8db583b7b30c0ac0..25b1dbe8921d62705c3e76d10d5bb08437bb7d1b 100644
(file)
--- a/
drivers/gpio/gpiolib-of.c
+++ b/
drivers/gpio/gpiolib-of.c
@@
-250,7
+250,7
@@
static void of_gpiochip_add_pin_range(struct gpio_chip *chip)
* on the same GPIO chip.
*/
ret = gpiochip_add_pin_range(chip,
- pinctrl_dev_get_name(pctldev),
+ pinctrl_dev_get_
dev
name(pctldev),
0, /* offset in gpiochip */
pinspec.args[0],
pinspec.args[1]);