diff options
author | Muhammad Falak R Wani <falakreyaz@gmail.com> | 2015-10-17 01:47:55 +0530 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-03 08:59:52 +0100 |
commit | 81aad9f81e6d89819f12656bd38df9ef639dbe45 (patch) | |
tree | 1976fba1f28f2c579874c5d2319222f4b210acf3 /block/genhd.c | |
parent | d43986143463690642bac8897196496d4c776269 (diff) |
leds: leds-menf21bmc.c: Use devm_led_class_register
Use resource-managed function devm_led_classdev_register instead
of led_classdev_register, consequently remove redundant
menf21bmc_led_remove function.
Also drop the unneeded label err_free_leds.
Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'block/genhd.c')
0 files changed, 0 insertions, 0 deletions