diff options
author | Douglas Anderson <[email protected]> | 2020-04-15 10:00:27 -0700 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2020-05-12 10:36:10 -0700 |
commit | faa0c1f106efd6b7f61e9df95e27cc748a7123ec (patch) | |
tree | 94e638ab8c6c45839d7dbaac04f642243ac8686e /lib/mpi/mpi-internal.h | |
parent | 8f09210d89e7a6feb07699b4e73a7c34f39554e4 (diff) |
soc: qcom: rpmh-rsc: Factor "tcs_reg_addr" and "tcs_cmd_addr" calculation
We can make some of the register access functions more readable by
factoring out the calculations a little bit.
Suggested-by: Joe Perches <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Link: https://lore.kernel.org/r/20200415095953.v3.1.Ic70288f256ff0be65cac6a600367212dfe39f6c9@changeid
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-internal.h')
0 files changed, 0 insertions, 0 deletions