]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/leds/leds-gpio.c
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[linux.git] / drivers / leds / leds-gpio.c
index 3af4f2bff83f9357bedb1dbf35bca38bed61a353..af1876a3a77c883a630f1c7765864ea28d3f0a03 100644 (file)
@@ -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);