diff options
| author | Marek BehĂșn <[email protected]> | 2020-09-18 00:32:56 +0200 |
|---|---|---|
| committer | Pavel Machek <[email protected]> | 2020-09-26 21:56:39 +0200 |
| commit | 99a013c840a05083fd82d220685af7579238bfa8 (patch) | |
| tree | 4ea2e6253551a67f580d81a3436eda04332dc385 /tools/perf/scripts/python | |
| parent | 05dec742bd20e8284e57559d53d38cffc2054fee (diff) | |
leds: various: use only available OF children
Various drivers count and iterate over OF children nodes via
of_get_child_count and for_each_child_of_node. Instead they should use
of_get_available_child_count and for_each_available_child_of_node, so
that if a given node has the `status` property set to `disabled`, the
child will be ignored.
Signed-off-by: Marek BehĂșn <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Andrey Utkin <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: Baolin Wang <[email protected]>
Cc: Benjamin Herrenschmidt <[email protected]>
Cc: Christian Mauderer <[email protected]>
Cc: Chunyan Zhang <[email protected]>
Cc: Dan Murphy <[email protected]>
Cc: David Rivshin <[email protected]>
Cc: Haojian Zhuang <[email protected]>
Cc: H. Nikolaus Schaller <[email protected]>
Cc: Michael Ellerman <[email protected]>
Cc: Milo Kim <[email protected]>
Cc: NeilBrown <[email protected]>
Cc: Nikita Travkin <[email protected]>
Cc: Orson Zhai <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Philippe Retornaz <[email protected]>
Cc: Riku Voipio <[email protected]>
Cc: Simon Guinot <[email protected]>
Cc: Simon Shields <[email protected]>
Cc: Vasant Hegde <[email protected]>
Cc: Xiaotong Lu <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions