diff options
author | 2013-09-27 05:37:25 -0700 | |
---|---|---|
committer | 2013-09-27 14:53:59 +0100 | |
commit | 89da4293a7bb29ac42b7dd2c2573c8a5ebb0b6c7 (patch) | |
tree | aa3aa31c37fdfef8c4d5b9aed4a4e72eeaa896d1 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | spi: simplify call to request_module() (diff) | |
download | linux-dev-89da4293a7bb29ac42b7dd2c2573c8a5ebb0b6c7.tar.xz linux-dev-89da4293a7bb29ac42b7dd2c2573c8a5ebb0b6c7.zip |
spi: Use of_property_read_u32
Instead of getting the raw property, checking the length, and doing
endian conversion each time, use the OF function
of_property_read_u32() that does all that.
Error messages are slightly improved with error codes from
of_property_read_u32() for different ways the property may be invalid
(missing, too short, etc.)
Signed-off-by: Trent Piepho <tpiepho@gmail.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions