leds: ns2: cosmetic change
authorMarek Behún <marek.behun@nic.cz>
Thu, 17 Sep 2020 22:33:31 +0000 (00:33 +0200)
committerPavel Machek <pavel@ucw.cz>
Sat, 26 Sep 2020 19:56:42 +0000 (21:56 +0200)
commita2fc703cc955c6b4b6c7fbed42df62bbadc46422
tree3ec5caf513c9f9646f4e6310e68223f4a005b248
parenta78bd8f33fd7f76aded73a4f371270f70e1f5cb8
leds: ns2: cosmetic change

Return directly instead of setting result and breaking.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Cc: Simon Guinot <simon.guinot@sequanux.org>
Cc: Simon Guinot <sguinot@lacie.com>
Cc: Vincent Donnefort <vdonnefort@gmail.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-ns2.c