diff options
author | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-12-10 10:29:57 +0100 |
---|---|---|
committer | Jacek Anaszewski <jacek.anaszewski@gmail.com> | 2018-12-10 21:10:42 +0100 |
commit | c4f7bd4a42758ed42cf7f7a5fd46e0b54ce23ad2 (patch) | |
tree | 93a640ac6a1b641784d7004c8e15244a550d5037 /crypto/scatterwalk.c | |
parent | cb14e6d6d8f411b7a05f36d1f877450c036d8c56 (diff) |
led: triggers: Break the for loop after default trigger is found
It is of no avail to continue iterating through registered
triggers in the led_trigger_set_default() after the trigger to set
has been found. Add "break" statement to fix this omission.
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions