summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-06-20 02:22:39 +0800
committerBryan Wu <bryan.wu@canonical.com>2012-07-24 07:52:35 +0800
commit1522d02e275332080ec27e268edc29c79c6f5e0c (patch)
treea7318cc83fe884e6cea025f7610482757c7ce7d9 /scripts
parent20c0e6b8787c5289202f688b6be78dff4568c1df (diff)
downloadtalos-obmc-linux-1522d02e275332080ec27e268edc29c79c6f5e0c.tar.gz
talos-obmc-linux-1522d02e275332080ec27e268edc29c79c6f5e0c.zip
leds: [trivial]Remove unnecesary return
the ret is got the status returned by the led_classdev_register, returning ret if the led_classdev_register fails and returning 0 if the led_classdev_register success, can be done by doing just "return ret" at the end. Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Bryan Wu <bryan.wu@canonical.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud