summaryrefslogtreecommitdiff
path: root/Documentation/power/notifiers.txt
diff options
context:
space:
mode:
authorVaishali Thakkar <vthakkar1994@gmail.com>2015-09-04 10:12:01 (GMT)
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-11-03 07:59:09 (GMT)
commitaa4e2524955971730ff845c0589f2f8f441ad610 (patch)
tree6d26c2b5bf1f2f3f47aa261f56e6ac12a9b20061 /Documentation/power/notifiers.txt
parent6a13feb9c82803e2b815eca72fa7a9f5561d7861 (diff)
downloadlinux-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/power/notifiers.txt')
0 files changed, 0 insertions, 0 deletions