diff options
author | Marek BehĂșn <[email protected]> | 2020-09-19 20:02:57 +0200 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2020-09-26 21:56:43 +0200 |
commit | a448fcf19c9c5d3ddd9066accbd8d28c4950bb9f (patch) | |
tree | abcc2590b9e52a19288b8627c4ad6198e24a8b68 /scripts/gdb/linux | |
parent | d3ab963cf980151f5f0ba16d842ddc80b232d9c0 (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 <[email protected]>
Reviewed-by: Dan Murphy <[email protected]>
Tested-by: Dan Murphy <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions