summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMuhammad Falak R Wani <falakreyaz@gmail.com>2015-09-05 19:53:27 +0530
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-11-03 08:59:13 +0100
commit583a2b2cd73c13a91b5f529466dec4d27716d226 (patch)
tree7cc9056db93ccff6b502fe5826d0fee88850f1c3 /tools/perf/scripts/python
parentc0fc68ba97b0f96fa4aaa6010ead6b77d3ffc3dd (diff)
leds: leds-ot200: Use devm_led_classdev_register
Use resource-managed function devm_led_classdev_register instead of led_classdev_register to make the error path simpler. The goto is replaced with direct return, unneeded label err is dropped. Also, remove redundant ot200_led_remove. Signed-off-by: Muhammad Falak R Wani <falakreyaz@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions