]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
soc: qcom: llcc: Use designated initializers for LLC settings
authorKonrad Dybcio <quic_kdybcio@quicinc.com>
Tue, 10 Sep 2024 15:01:39 +0000 (17:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Dec 2024 19:03:38 +0000 (20:03 +0100)
commit46b99cadaef4a6e79b023049f486fc81e6dfc5fc
tree1d2f6ed5ba04d5d27ef27457e73641f63eb9258a
parent8455230b1ba0df1a580c3d7a3a56a11540a86a4f
soc: qcom: llcc: Use designated initializers for LLC settings

[ Upstream commit 20a0a05f40faf82f64f1c2ad3e9f5006b80ca0cb ]

The current way of storing the configuration is very much
unmaintainable. Convert the data to use designated initializers to make
it easier both to understand and add/update the slice configuration
data.

Signed-off-by: Konrad Dybcio <quic_kdybcio@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240910-topic-llcc_unwrap-v2-1-f0487c983373@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/qcom/llcc-qcom.c