diff options
author | 2022-11-18 09:07:40 -0600 | |
---|---|---|
committer | 2022-12-07 22:20:33 +1100 | |
commit | b10af504a2015d12c566b6b0a4c7e3b602949eeb (patch) | |
tree | c70d353f65d10f06f14172cca1fe8adbe74ed8f6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | powerpc/rtas: document rtas_call() (diff) | |
download | wireguard-linux-b10af504a2015d12c566b6b0a4c7e3b602949eeb.tar.xz wireguard-linux-b10af504a2015d12c566b6b0a4c7e3b602949eeb.zip |
powerpc/rtasd: use correct OF API for event scan rate
rtas_token() should be used only for properties that are RTAS function
tokens. "rtas-event-scan-rate" does not contain a function token, but it
has the same size/format as token properties so reading it with
rtas_token() happens to work.
Convert to of_property_read_u32().
Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com>
Reviewed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20221118150751.469393-3-nathanl@linux.ibm.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions