]> 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)
commitb5afd13a289ee5986850a448b435ec6af1757181
tree648ae2850ecf459bcf0c327f00aff4b51c0548e1
parent263cc906a54bb36c6e2263364a3c715c7eaf1a93
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