diff options
| author | Bjorn Andersson <bjorn.andersson@sonymobile.com> | 2015-02-23 19:11:41 -0500 |
|---|---|---|
| committer | Bryan Wu <cooloney@gmail.com> | 2015-03-09 16:43:41 -0400 |
| commit | ca1bb4ee4c3a017bb66840d11d5efdf4e8f3f66d (patch) | |
| tree | eb9a3f0c441f5b1559b24eaf3ac9a296b03e7184 /Documentation/driver-model | |
| parent | eb2294c3432fb6366ec12b56a3b2a12cf4242b69 (diff) | |
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>
Diffstat (limited to 'Documentation/driver-model')
| -rw-r--r-- | Documentation/driver-model/devres.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/driver-model/devres.txt b/Documentation/driver-model/devres.txt index 6d1e8eeb5990..e1e2bbd7a404 100644 --- a/Documentation/driver-model/devres.txt +++ b/Documentation/driver-model/devres.txt | |||
| @@ -289,6 +289,10 @@ IRQ | |||
| 289 | devm_request_irq() | 289 | devm_request_irq() |
| 290 | devm_request_threaded_irq() | 290 | devm_request_threaded_irq() |
| 291 | 291 | ||
| 292 | LED | ||
| 293 | devm_led_classdev_register() | ||
| 294 | devm_led_classdev_unregister() | ||
| 295 | |||
| 292 | MDIO | 296 | MDIO |
| 293 | devm_mdiobus_alloc() | 297 | devm_mdiobus_alloc() |
| 294 | devm_mdiobus_alloc_size() | 298 | devm_mdiobus_alloc_size() |
