ASoC: codecs: make snd_soc_dai_driver and snd_soc_component_driver const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 16 Aug 2017 17:15:09 +0000 (22:45 +0530)
committerMark Brown <broonie@kernel.org>
Thu, 17 Aug 2017 17:10:34 +0000 (18:10 +0100)
commit6e37f933ed1ade3201dd609d103c0ef79c0ef6b0
tree246c5356bce658d2bdc578c1528f97ac674da1a3
parent0ed6f15701efa0d62b4556900cd67a726578389e
ASoC: codecs: make snd_soc_dai_driver and snd_soc_component_driver const

Make these two structure variables const as they are either used in a
copy operation or passed to devm_snd_soc_register_component having the
corresponding argument as const.
Done using Coccinelle.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/hdmi-codec.c
sound/soc/codecs/lm4857.c
sound/soc/codecs/max9768.c