diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-11-03 05:13:31 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-11-16 01:06:36 +0300 |
commit | 5478cf6ae514aef42c70032a026954f9c9bad4ca (patch) | |
tree | bed70d808761dcbefb5502a51ed1dbde3806ddc8 /Documentation/driver-api/driver-model | |
parent | 3348a08a4ceba12c9b658f4bb77d7e9b2adda0ed (diff) | |
download | linux-5478cf6ae514aef42c70032a026954f9c9bad4ca.tar.xz |
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 b2b998c0f944 ("leds:
class: Improve LED and LED flash class registration API").
devm_led_trigger_register() is introduced by commit 9534cc31dda2 ("leds: core:
add managed version of led_trigger_register").
devm_of_led_get() is introduced by commit e389240ad992 ("leds: Add managed
API to get a LED from a device driver").
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20221103021331.1007699-1-yangyingliang@huawei.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/driver-api/driver-model')
-rw-r--r-- | Documentation/driver-api/driver-model/devres.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/driver-api/driver-model/devres.rst b/Documentation/driver-api/driver-model/devres.rst index 45f048721569..673185b61cf0 100644 --- a/Documentation/driver-api/driver-model/devres.rst +++ b/Documentation/driver-api/driver-model/devres.rst @@ -342,7 +342,10 @@ IRQ LED devm_led_classdev_register() + devm_led_classdev_register_ext() devm_led_classdev_unregister() + devm_led_trigger_register() + devm_of_led_get() MDIO devm_mdiobus_alloc() |