diff options
author | Vaishali Thakkar <vthakkar1994@gmail.com> | 2015-09-04 10:12:01 (GMT) |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-11-03 07:59:09 (GMT) |
commit | aa4e2524955971730ff845c0589f2f8f441ad610 (patch) | |
tree | 6d26c2b5bf1f2f3f47aa261f56e6ac12a9b20061 /Documentation/IPMI.txt | |
parent | 6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff) | |
download | linux-aa4e2524955971730ff845c0589f2f8f441ad610.tar.xz |
leds: leds-cobalt-qube: Use devm_led_classdev_register
Use resource-managed function devm_led_classdev_register instead
of led_classdev_register to make the error-path simpler.
To be compatible with the change, goto is replaced with direct
return, unneeded label err_null is dropped and unnecessary variable
retval is removed. Also, remove redundant cobalt_qube_led_remove.
Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'Documentation/IPMI.txt')
0 files changed, 0 insertions, 0 deletions