linux/sound/soc/intel
Lars-Peter Clausen 266c618d67 ASoC: intel: mfld: Make static string arrays 'const 'char * const []'
const char * const [] is the preferred type for static string arrays since
this states explicitly that the individual entries are not going to be
changed. Due to limitations in the ASoC API it was not possible to use it
for enum text arrays. Commit 87023ff74b ("ASoC: Declare const properly
for enum texts") changed this, but most drivers still use 'const char
* []' as the type for their enum text arrays.

Change these occurrences of 'static * const char * []' to 'static const
char * const []'.

The conversion was done automatically using the following coccinelle
semantic patch:
// <smpl>
@disable optional_qualifier@
identifier s;
@@
 static
-const char *
+const char * const
 s[] = ...;
// </smpl>

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-11-16 10:08:59 +00:00
..
atom ASoC: Intel: atom: Add debug information related to FW version 2016-10-28 18:20:04 +01:00
baytrail kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
boards ASoC: intel: mfld: Make static string arrays 'const 'char * const []' 2016-11-16 10:08:59 +00:00
common ASoC: Intel: common: add ACPI package extraction utility 2016-11-13 09:19:51 +00:00
haswell kthread: kthread worker API cleanup 2016-10-11 15:06:33 -07:00
skylake ASoC: Intel: Skylake: Flush pending D0i3 request on suspend 2016-11-09 15:22:48 +00:00
Kconfig ASoC: Intel: boards: Add bdw-rt5677 machine driver 2016-09-24 20:02:03 +01:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00