]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8676b1e45f6fa0bfd8cfee0b479648e29a3a9edc
tree3ec5caf513c9f9646f4e6310e68223f4a005b248
parentf4944d477ac0c8e57e379e093c93afd9684b5fbf
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