diff options
author | Fida Mohammad <fmthoker@gmail.com> | 2015-10-16 14:33:03 -0700 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-03 08:59:50 +0100 |
commit | d43986143463690642bac8897196496d4c776269 (patch) | |
tree | c17e66dbd005675e283d71bb54e77fe3c58465b4 /drivers/leds/leds-menf21bmc.c | |
parent | 707f33ed85ff423016674d27bb2e60fe8fa352ce (diff) | |
download | lwn-d43986143463690642bac8897196496d4c776269.tar.gz lwn-d43986143463690642bac8897196496d4c776269.zip |
leds: leds-locomo.c: Use devm_led_classdev_register
Use resource managed function devm_led_classdev_register to make
initialisation path simpler.
Also removed redundant led_classdev_unregister function.
Signed-off-by: Fida Mohammad <fmthoker@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/leds-menf21bmc.c')
0 files changed, 0 insertions, 0 deletions