mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-08 15:04:45 +00:00
ASoC: amd: acp-da7219-max98357a: Constify regulator_ops
Neither core nor the driver modifes 'struct regulator_ops', so it can be const for code safety. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240414164703.239851-1-krzk@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9d85ec4e91
commit
dd8c3473bb
@ -733,7 +733,7 @@ static struct regulator_config acp_da7219_cfg = {
|
||||
.init_data = &acp_da7219_data,
|
||||
};
|
||||
|
||||
static struct regulator_ops acp_da7219_ops = {
|
||||
static const struct regulator_ops acp_da7219_ops = {
|
||||
};
|
||||
|
||||
static const struct regulator_desc acp_da7219_desc = {
|
||||
|
Loading…
Reference in New Issue
Block a user