diff options
author | 2018-07-06 13:50:31 +0100 | |
---|---|---|
committer | 2018-07-07 17:20:47 +0200 | |
commit | 448a5a552f336bd7b847b1951ffd15eb2e7167a3 (patch) | |
tree | 600f0b44485f18b85c27ea5edafc108382b5b9ff /tools/perf/scripts/python/export-to-postgresql.py | |
parent | kernfs: Replace strncpy with memcpy (diff) | |
download | wireguard-linux-448a5a552f336bd7b847b1951ffd15eb2e7167a3.tar.xz wireguard-linux-448a5a552f336bd7b847b1951ffd15eb2e7167a3.zip |
drivers: base: cacheinfo: use OF property_read_u32 instead of get_property,read_number
of_property_read_u32 searches for a property in a device node and read
a 32-bit value from it. Instead of using of_get_property to get the
property and then read 32-bit value using of_read_number, we can
simplify it by using of_property_read_u32.
Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions