Skip to content
Commit 400950f6 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

ASoC: codecs: constify static sdw_slave_ops struct



[ Upstream commit 65b7b869 ]

The struct sdw_slave_ops is not modified and sdw_driver takes pointer to
const, so make it a const for code safety.

Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230124163953.345949-1-krzysztof.kozlowski@linaro.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Stable-dep-of: 84822215 ("ASoC: codecs: wcd938x: fix accessing regmap on unattached devices")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5279ab19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment