summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-tlc591xx.c
diff options
context:
space:
mode:
authorMarek BehĂșn <marek.behun@nic.cz>2020-09-19 20:02:57 +0200
committerPavel Machek <pavel@ucw.cz>2020-09-26 21:56:43 +0200
commita448fcf19c9c5d3ddd9066accbd8d28c4950bb9f (patch)
treeabcc2590b9e52a19288b8627c4ad6198e24a8b68 /drivers/leds/leds-tlc591xx.c
parentd3ab963cf980151f5f0ba16d842ddc80b232d9c0 (diff)
leds: lm36274: don't iterate through children since there is only one
Do not use device_for_each_child_node. Since this driver works only with once child node present, use device_get_next_child_node instead. This also saves one level of indentation. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Dan Murphy <dmurphy@ti.com> Tested-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-tlc591xx.c')
0 files changed, 0 insertions, 0 deletions