aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 08:47:26 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-03-16 13:02:11 +0100
commitef194140308776be60dd4601bd01c00c84fb8b39 (patch)
treea035b982cabdd9dcb6265e8a6f78161b537c528e /tools/perf/scripts/python/bin/stackcollapse-record
parentDocumentation/serial-console: Document the behavior when the last console= pa... (diff)
downloadlinux-ef194140308776be60dd4601bd01c00c84fb8b39.tar.gz
linux-ef194140308776be60dd4601bd01c00c84fb8b39.zip
serial: 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 <robh@kernel.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20230310144727.1545630-1-robh@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions