commit | a4a469b4314e95818521daef82aa7f9071123245 | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Fri Sep 18 00:33:33 2020 +0200 |
committer | Pavel Machek <pavel@ucw.cz> | Sat Sep 26 21:56:42 2020 +0200 |
tree | ea5024b9ad2cd300f02ac92f4e703801c6c241f4 | |
parent | b3f96922839a589e8417c31a1837f78382d3f0ab [diff] |
leds: ns2: register LED immediately after parsing DT properties Register each LED immediately after parsing OF properties. This simplifies the driver. 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>