projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[linux-2.6-block.git]
/
drivers
/
leds
/
leds-gpio.c
diff --git
a/drivers/leds/leds-gpio.c
b/drivers/leds/leds-gpio.c
index 3af4f2bff83f9357bedb1dbf35bca38bed61a353..af1876a3a77c883a630f1c7765864ea28d3f0a03 100644
(file)
--- a/
drivers/leds/leds-gpio.c
+++ b/
drivers/leds/leds-gpio.c
@@
-192,7
+192,7
@@
static struct gpio_leds_priv *gpio_leds_create(struct platform_device *pdev)
goto err;
}
- np = of_node(child);
+ np =
to_
of_node(child);
if (fwnode_property_present(child, "label")) {
fwnode_property_read_string(child, "label", &led.name);