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

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: fsl: define a common DRIVER_NAME

Instead of copying the driver name manually, use a common define.
No functional change.

Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Acked-by: Shengjiu Wang <shengjiu.wang@gmail.com>
Link: https://lore.kernel.org/r/20230316123611.3495597-1-alexander.stein@ew.tq-group.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Alexander Stein and committed by
Mark Brown
1d52cba3 d9e909e2

+4 -2
+4 -2
sound/soc/fsl/fsl-asoc-card.c
··· 28 28 #include "../codecs/wm8994.h" 29 29 #include "../codecs/tlv320aic31xx.h" 30 30 31 + #define DRIVER_NAME "fsl-asoc-card" 32 + 31 33 #define CS427x_SYSCLK_MCLK 0 32 34 33 35 #define RX 0 ··· 917 915 static struct platform_driver fsl_asoc_card_driver = { 918 916 .probe = fsl_asoc_card_probe, 919 917 .driver = { 920 - .name = "fsl-asoc-card", 918 + .name = DRIVER_NAME, 921 919 .pm = &snd_soc_pm_ops, 922 920 .of_match_table = fsl_asoc_card_dt_ids, 923 921 }, ··· 926 924 927 925 MODULE_DESCRIPTION("Freescale Generic ASoC Sound Card driver with ASRC"); 928 926 MODULE_AUTHOR("Nicolin Chen <nicoleotsuka@gmail.com>"); 929 - MODULE_ALIAS("platform:fsl-asoc-card"); 927 + MODULE_ALIAS("platform:" DRIVER_NAME); 930 928 MODULE_LICENSE("GPL");