]> asedeno.scripts.mit.edu Git - linux.git/commit
ASoC: codecs: make snd_soc_platform_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Mon, 14 Aug 2017 11:38:40 +0000 (17:08 +0530)
committerMark Brown <broonie@kernel.org>
Mon, 14 Aug 2017 16:22:07 +0000 (17:22 +0100)
commit0ed6f15701efa0d62b4556900cd67a726578389e
tree445081a1485c8f9dddfc1516863c9afa39152158
parenta180ba45b1cf630b3bd5912ce235b2ee16606b8e
ASoC: codecs: make snd_soc_platform_driver const

Make these const as they are either passed as the 2nd argument to the
function devm_snd_soc_register_platform or snd_soc_register_platform,
and the arguments are of type const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs47l24.c
sound/soc/codecs/rt5514-spi.c
sound/soc/codecs/wm5102.c
sound/soc/codecs/wm5110.c