aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:47:20 -0600
committerLinus Walleij <[email protected]>2023-03-23 09:28:38 +0100
commite0e8fbf84628f3aa80a01ba28db7921224f5d7b9 (patch)
treefac76918ca4ab0890aaffd393a339a3146c280be /tools/perf/scripts/python/stackcollapse.py
parentd11f932808dc689717e409bbc81b5093e7902fc9 (diff)
pinctrl: Use of_property_present() for testing DT property presence
It is preferred to use typed property access functions (i.e. of_property_read_<type> functions) rather than low-level of_get_property/of_find_property functions for reading properties. As part of this, convert of_get_property/of_find_property calls to the recently added of_property_present() helper when we just want to test for presence of a property and nothing more. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Reviewed-by: Jernej Skrabec <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Link: https://lore.kernel.org/r/[email protected] [Dropped hunk hitting drivers/pinctrl/renesas/pinctrl.c] Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions