aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorRasmus Villemoes <[email protected]>2019-11-28 15:55:27 +0100
committerLi Yang <[email protected]>2019-12-09 13:54:33 -0600
commit123ee6e90b06b1b1a12cfe1f438c8faf3b21bd28 (patch)
treececd75e8f35f93fbe21f22cb74fc0f0e19498217 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parent9dab15b1a0e3fabdca9e1adb13ef946332b8c0b8 (diff)
soc: fsl: qe: qe.c: use of_property_read_* helpers
Instead of manually doing of_get_property/of_find_property and reading the value by assigning to a u32* or u64* and dereferencing, use the of_property_read_* functions. This make the code more readable, and more importantly, is required for this to work correctly on little-endian platforms. Reviewed-by: Timur Tabi <[email protected]> Signed-off-by: Rasmus Villemoes <[email protected]> Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions