mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-02 20:29:20 +00:00
leds: Introduce devres helper for led_classdev_register
(cooloney@gmail.com: add _unregister function into the document) Suggested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com> Signed-off-by: Bryan Wu <cooloney@gmail.com>
This commit is contained in:
parent
eb2294c343
commit
ca1bb4ee4c
3 changed files with 65 additions and 0 deletions
|
@ -289,6 +289,10 @@ IRQ
|
|||
devm_request_irq()
|
||||
devm_request_threaded_irq()
|
||||
|
||||
LED
|
||||
devm_led_classdev_register()
|
||||
devm_led_classdev_unregister()
|
||||
|
||||
MDIO
|
||||
devm_mdiobus_alloc()
|
||||
devm_mdiobus_alloc_size()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue