Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: gtm601: Constify soc_codec_dev_gtm601

Also clean up the code a bit by fixing indent.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Axel Lin and committed by
Mark Brown
02a9547e d4979631

+3 -4
+3 -4
sound/soc/codecs/gtm601.c
··· 51 51 }, 52 52 }; 53 53 54 - static struct snd_soc_codec_driver soc_codec_dev_gtm601 = { 54 + static const struct snd_soc_codec_driver soc_codec_dev_gtm601 = { 55 55 .dapm_widgets = gtm601_dapm_widgets, 56 56 .num_dapm_widgets = ARRAY_SIZE(gtm601_dapm_widgets), 57 57 .dapm_routes = gtm601_dapm_routes, ··· 80 80 81 81 static struct platform_driver gtm601_codec_driver = { 82 82 .driver = { 83 - .name = "gtm601", 84 - .of_match_table = of_match_ptr(gtm601_codec_of_match), 83 + .name = "gtm601", 84 + .of_match_table = of_match_ptr(gtm601_codec_of_match), 85 85 }, 86 - 87 86 .probe = gtm601_platform_probe, 88 87 .remove = gtm601_platform_remove, 89 88 };