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
xen/console: Update console event channel on resume
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
leds
/
leds-gpio.c
diff --git
a/drivers/leds/leds-gpio.c
b/drivers/leds/leds-gpio.c
index d26af0a79a90bf698fdc411302b465a0f87fd19c..15eb3f86f670ffe43605615b81c994aa58b40b2c 100644
(file)
--- a/
drivers/leds/leds-gpio.c
+++ b/
drivers/leds/leds-gpio.c
@@
-184,7
+184,7
@@
static struct gpio_leds_priv *gpio_leds_create(struct platform_device *pdev)
struct gpio_led led = {};
const char *state = NULL;
- led.gpiod = devm_get_gpiod_from_child(dev, child);
+ led.gpiod = devm_get_gpiod_from_child(dev,
NULL,
child);
if (IS_ERR(led.gpiod)) {
fwnode_handle_put(child);
ret = PTR_ERR(led.gpiod);