diff options
author | Marek BehĂșn <marek.behun@nic.cz> | 2020-09-18 00:33:27 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2020-09-26 21:56:41 +0200 |
commit | f72deb717d5b80b3b90ebcb4e4b73b041e2eb465 (patch) | |
tree | 98344e6eb64c6933628422efc9b72b47ae1d1640 /drivers/leds/leds-tca6507.c | |
parent | 01d0b14d0e52d74ff7e0fc9b39c13be04acf27dd (diff) | |
download | linux-f72deb717d5b80b3b90ebcb4e4b73b041e2eb465.tar.bz2 |
leds: ns2: move parsing of one LED into separate function
Move parsing of DT properties of one LED into separate function. This
saves indentation level and is nicer to read.
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>
Diffstat (limited to 'drivers/leds/leds-tca6507.c')
0 files changed, 0 insertions, 0 deletions