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)
commitde3636488cff3678bafaf2d024e64c003ed2beae
tree648ae2850ecf459bcf0c327f00aff4b51c0548e1
parent704a9fc20b87f2929732cab0a1a04f28d4093085
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