diff options
author | Nathan Lynch <nathanl@linux.ibm.com> | 2022-11-18 09:07:40 -0600 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-12-07 22:20:33 +1100 |
commit | b10af504a2015d12c566b6b0a4c7e3b602949eeb (patch) | |
tree | c70d353f65d10f06f14172cca1fe8adbe74ed8f6 /arch/powerpc/kernel/fpu.S | |
parent | 336e2554ec99eb97616004c791ee89abe96bdab2 (diff) | |
download | linux-b10af504a2015d12c566b6b0a4c7e3b602949eeb.tar.bz2 |
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 'arch/powerpc/kernel/fpu.S')
0 files changed, 0 insertions, 0 deletions