leds: Introduce devres helper for led_classdev_register
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 24 Feb 2015 00:11:41 +0000 (16:11 -0800)
committerBryan Wu <cooloney@gmail.com>
Mon, 9 Mar 2015 20:43:41 +0000 (13:43 -0700)
commitca1bb4ee4c3a017bb66840d11d5efdf4e8f3f66d
treeeb9a3f0c441f5b1559b24eaf3ac9a296b03e7184
parenteb2294c3432fb6366ec12b56a3b2a12cf4242b69
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>
Documentation/driver-model/devres.txt
drivers/leds/led-class.c
include/linux/leds.h