diff options
author | Sam Protsenko <[email protected]> | 2024-02-24 14:20:46 -0600 |
---|---|---|
committer | Krzysztof Kozlowski <[email protected]> | 2024-02-25 16:58:03 +0100 |
commit | 6d7d203ca6914e84166a00d0f0bdfda6cbce76a7 (patch) | |
tree | 8895d05b9e729be60d04b761d03f8e1f0981e6df /tools/perf/util/trace-event-scripting.c | |
parent | 338f1c25269185cbea6e3dd966e5c859af2323f7 (diff) |
clk: samsung: Pass register layout type explicitly to CLK_CPU()
Use a dedicated enum field to explicitly specify which register layout
should be used for the CPU clock, instead of passing it as a bit flag.
This way it would be possible to keep the chip-specific data in some
array, where each chip structure could be accessed by its corresponding
layout index. It prepares clk-cpu.c for adding new chips support, which
might have different data for different CPU clusters.
No functional change.
Signed-off-by: Sam Protsenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Kozlowski <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions