projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'devicetree-for-linus' of git://git.secretlab.ca/git/linux
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
gpio
/
gpiolib-of.c
diff --git
a/drivers/gpio/gpiolib-of.c
b/drivers/gpio/gpiolib-of.c
index ba9876ffb017ba3c8874512e73acbbf9c97d0cbb..0dfaf20e4dad4175fc7d5f49e6989d609876b123 100644
(file)
--- a/
drivers/gpio/gpiolib-of.c
+++ b/
drivers/gpio/gpiolib-of.c
@@
-195,8
+195,8
@@
static void of_gpiochip_add_pin_range(struct gpio_chip *chip)
return;
for (;; index++) {
- ret = of_parse_phandle_with_
args(np, "gpio-ranges"
,
-
"#gpio-range-cells",
index, &pinspec);
+ ret = of_parse_phandle_with_
fixed_args(np, "gpio-ranges", 3
,
+ index, &pinspec);
if (ret)
break;