projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
leds: class: Improve LED and LED flash class registration API
[linux-block.git]
/
drivers
/
leds
/
leds-max77650.c
diff --git
a/drivers/leds/leds-max77650.c
b/drivers/leds/leds-max77650.c
index 04738324b3e6259c68afac2c6fd675b52b7d9eef..5a14f9775b0eff21c5a3dc7afabb33d7de2886ce 100644
(file)
--- a/
drivers/leds/leds-max77650.c
+++ b/
drivers/leds/leds-max77650.c
@@
-118,7
+118,7
@@
static int max77650_led_probe(struct platform_device *pdev)
of_property_read_string(child, "linux,default-trigger",
&led->cdev.default_trigger);
- rv = devm_
of_led_classdev_register(dev, child
, &led->cdev);
+ rv = devm_
led_classdev_register(dev
, &led->cdev);
if (rv)
goto err_node_put;