aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorNathan Lynch <[email protected]>2022-11-18 09:07:40 -0600
committerMichael Ellerman <[email protected]>2022-12-07 22:20:33 +1100
commitb10af504a2015d12c566b6b0a4c7e3b602949eeb (patch)
treec70d353f65d10f06f14172cca1fe8adbe74ed8f6 /lib/mpi/mpi-sub-ui.c
parent336e2554ec99eb97616004c791ee89abe96bdab2 (diff)
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 <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions