diff options
| author | 2022-07-28 13:37:41 +0200 | |
|---|---|---|
| committer | 2022-08-18 14:13:46 -0500 | |
| commit | 1dd5246ea6ba66b3e926eb13528fdfaf63211c65 (patch) | |
| tree | 75a3b5e244d7a58ad270bd473632842c9ed64352 /include/linux/raid/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com | |
| parent | soc: qcom: icc-bwmon: drop unused registers (diff) | |
| download | linux-dev-1dd5246ea6ba66b3e926eb13528fdfaf63211c65.tar.xz linux-dev-1dd5246ea6ba66b3e926eb13528fdfaf63211c65.zip | |
soc: qcom: icc-bwmon: store reference to variant data in container
Instead of copying pieces of variant-specific data (struct
icc_bwmon_data) into the state container (struct icc_bwmon), just store
a pointer to it.
This simplifies a bit the code and allows later to grow easily the
variant-specific data for new BWMON v5.
Cc: Rajendra Nayak <quic_rjendra@quicinc.com>
Cc: Sibi Sankar <quic_sibis@quicinc.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Sibi Sankar <quic_sibis@quicinc.com>
Tested-by: Steev Klimaszewski <steev@kali.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220728113748.170548-5-krzysztof.kozlowski@linaro.org
Diffstat (limited to 'include/linux/raid/git:/git.zx2c4.com/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
