summaryrefslogtreecommitdiffstats
path: root/Documentation/driver-model/devres.txt
diff options
context:
space:
mode:
authorBjorn Andersson <bjorn.andersson@sonymobile.com>2015-02-23 16:11:41 -0800
committerBryan Wu <cooloney@gmail.com>2015-03-09 13:43:41 -0700
commitca1bb4ee4c3a017bb66840d11d5efdf4e8f3f66d (patch)
treeeb9a3f0c441f5b1559b24eaf3ac9a296b03e7184 /Documentation/driver-model/devres.txt
parenteb2294c3432fb6366ec12b56a3b2a12cf4242b69 (diff)
downloadlinux-ca1bb4ee4c3a017bb66840d11d5efdf4e8f3f66d.tar.bz2
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/devres.txt')
-rw-r--r--Documentation/driver-model/devres.txt4
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
devm_request_irq()
devm_request_threaded_irq()
+LED
+ devm_led_classdev_register()
+ devm_led_classdev_unregister()
+
MDIO
devm_mdiobus_alloc()
devm_mdiobus_alloc_size()