Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 02a9547e authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: gtm601: Constify soc_codec_dev_gtm601



Also clean up the code a bit by fixing indent.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent d4979631
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -51,7 +51,7 @@ static struct snd_soc_dai_driver gtm601_dai = {
	},
};

static struct snd_soc_codec_driver soc_codec_dev_gtm601 = {
static const struct snd_soc_codec_driver soc_codec_dev_gtm601 = {
	.dapm_widgets = gtm601_dapm_widgets,
	.num_dapm_widgets = ARRAY_SIZE(gtm601_dapm_widgets),
	.dapm_routes = gtm601_dapm_routes,
@@ -83,7 +83,6 @@ static struct platform_driver gtm601_codec_driver = {
		.name = "gtm601",
		.of_match_table = of_match_ptr(gtm601_codec_of_match),
	},

	.probe = gtm601_platform_probe,
	.remove = gtm601_platform_remove,
};