]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: AMD: constify regulator_desc structure
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sun, 28 Oct 2018 05:56:08 +0000 (06:56 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Nov 2018 11:25:57 +0000 (11:25 +0000)
commit2a8d2e004d1fbb0bca50e9c0e8fb295d9022f964
tree648ae2850ecf459bcf0c327f00aff4b51c0548e1
parent9a78d80941c7383bb74766c8b92657cb1cb5485f
ASoC: AMD: constify regulator_desc structure

The regulator_desc structure can be const as it is only passed as the
second argument of devm_regulator_register and the corresponding
parameter is declared as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-da7219-max98357a.c