clk: samsung: Keep CPU clock chip specific data in a dedicated struct
authorSam Protsenko <semen.protsenko@linaro.org>
Sat, 24 Feb 2024 20:20:47 +0000 (14:20 -0600)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Sun, 25 Feb 2024 15:58:26 +0000 (16:58 +0100)
commit9c746e5afdc3f784593c903d4be3d418f75d7787
treefaa60a605edbb8183100d781af9b4bc1ad5ca918
parent6d7d203ca6914e84166a00d0f0bdfda6cbce76a7
clk: samsung: Keep CPU clock chip specific data in a dedicated struct

Keep chip specific data in the data structure, don't mix it with code.
It makes it easier to add more chip specific data further. Having all
chip specific data in the table eliminates possible code bloat when
adding more rate handlers for new chips, and also makes it possible to
keep some other chip related data in that array.

No functional change.

Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
Link: https://lore.kernel.org/r/20240224202053.25313-10-semen.protsenko@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
drivers/clk/samsung/clk-cpu.c