diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-06-08 15:41:15 +0200 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2022-06-13 11:53:18 +0200 |
commit | 980bcaf33988e201dfd09cd75b20eea691fb3a0e (patch) | |
tree | 9f1a87c485d1380bea0bf509d723d4b4d5c6f1f4 /tools/testing/selftests/kvm/lib/perf_test_util.c | |
parent | 444877983933d0efaf6788eabf2f750b1c175419 (diff) |
clk: renesas: rza1: Remove struct rz_cpg
The register block base pointer as stored in the reg member of the
rz_cpg structure is only used during initialization. Hence move
it to a local variable, and pass it as a parameter to
rz_cpg_register_clock().
After this, the data member is the only remaining member of the rz_cpg
structure, so the whole structure can be replaced by the data member.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Link: https://lore.kernel.org/r/2380285576edaa4ad3dc5eca7e0ca418f068c6ef.1654694831.git.geert+renesas@glider.be
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions