Commit 5478cf6a authored by Yang Yingliang's avatar Yang Yingliang Committed by Jonathan Corbet

Documentation: devres: add missing LED helpers

Add some missing device-managed helpers of led to devres.rst.

devm_led_classdev_register_ext() is introduced by commit b2b998c0 ("leds:
class: Improve LED and LED flash class registration API").

devm_led_trigger_register() is introduced by commit 9534cc31 ("leds: core:
add managed version of led_trigger_register").

devm_of_led_get() is introduced by commit e389240a ("leds: Add managed
API to get a LED from a device driver").
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221103021331.1007699-1-yangyingliang@huawei.comSigned-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 3348a08a
...@@ -342,7 +342,10 @@ IRQ ...@@ -342,7 +342,10 @@ IRQ
LED LED
devm_led_classdev_register() devm_led_classdev_register()
devm_led_classdev_register_ext()
devm_led_classdev_unregister() devm_led_classdev_unregister()
devm_led_trigger_register()
devm_of_led_get()
MDIO MDIO
devm_mdiobus_alloc() devm_mdiobus_alloc()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment