[PATCH 1/2] ASoC: mediatek: remove redundant MODULE_ALIAS entries

From: sean.wang
Date: Mon Mar 26 2018 - 06:10:01 EST


From: Sean Wang <sean.wang@xxxxxxxxxxxx>

MODULE_ALIAS exports information to allow the module to be auto-loaded at
boot for the drivers registered using legacy platform registration.

However, currently the driver is always used by DT-only platform,
MODULE_ALIAS is redundant and should be removed properly.

Signed-off-by: Sean Wang <sean.wang@xxxxxxxxxxxx>
---
sound/soc/mediatek/mt2701/mt2701-cs42448.c | 1 -
sound/soc/mediatek/mt2701/mt2701-wm8960.c | 1 -
sound/soc/mediatek/mt8173/mt8173-max98090.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c | 1 -
sound/soc/mediatek/mt8173/mt8173-rt5650.c | 1 -
6 files changed, 6 deletions(-)

diff --git a/sound/soc/mediatek/mt2701/mt2701-cs42448.c b/sound/soc/mediatek/mt2701/mt2701-cs42448.c
index 70f61d5..f664b9d 100644
--- a/sound/soc/mediatek/mt2701/mt2701-cs42448.c
+++ b/sound/soc/mediatek/mt2701/mt2701-cs42448.c
@@ -409,4 +409,3 @@ module_platform_driver(mt2701_cs42448_machine);
MODULE_DESCRIPTION("MT2701 CS42448 ALSA SoC machine driver");
MODULE_AUTHOR("Ir Lian <ir.lian@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("mt2701 cs42448 soc card");
diff --git a/sound/soc/mediatek/mt2701/mt2701-wm8960.c b/sound/soc/mediatek/mt2701/mt2701-wm8960.c
index a08ce23..a137057 100644
--- a/sound/soc/mediatek/mt2701/mt2701-wm8960.c
+++ b/sound/soc/mediatek/mt2701/mt2701-wm8960.c
@@ -172,5 +172,4 @@ module_platform_driver(mt2701_wm8960_machine);
MODULE_DESCRIPTION("MT2701 WM8960 ALSA SoC machine driver");
MODULE_AUTHOR("Ryder Lee <ryder.lee@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("mt2701 wm8960 soc card");

diff --git a/sound/soc/mediatek/mt8173/mt8173-max98090.c b/sound/soc/mediatek/mt8173/mt8173-max98090.c
index e0c2b23..6e58af6 100644
--- a/sound/soc/mediatek/mt8173/mt8173-max98090.c
+++ b/sound/soc/mediatek/mt8173/mt8173-max98090.c
@@ -203,5 +203,4 @@ module_platform_driver(mt8173_max98090_driver);
MODULE_DESCRIPTION("MT8173 MAX98090 ALSA SoC machine driver");
MODULE_AUTHOR("Koro Chen <koro.chen@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:mt8173-max98090");

diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
index 5a9a548..addbbb3 100644
--- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
+++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5514.c
@@ -251,5 +251,4 @@ module_platform_driver(mt8173_rt5650_rt5514_driver);
MODULE_DESCRIPTION("MT8173 RT5650 and RT5514 SoC machine driver");
MODULE_AUTHOR("Koro Chen <koro.chen@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:mtk-rt5650-rt5514");

diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
index b724808..f46e4c8 100644
--- a/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
+++ b/sound/soc/mediatek/mt8173/mt8173-rt5650-rt5676.c
@@ -308,5 +308,4 @@ module_platform_driver(mt8173_rt5650_rt5676_driver);
MODULE_DESCRIPTION("MT8173 RT5650 and RT5676 SoC machine driver");
MODULE_AUTHOR("Koro Chen <koro.chen@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:mtk-rt5650-rt5676");

diff --git a/sound/soc/mediatek/mt8173/mt8173-rt5650.c b/sound/soc/mediatek/mt8173/mt8173-rt5650.c
index 679fc8b..e2e42e6 100644
--- a/sound/soc/mediatek/mt8173/mt8173-rt5650.c
+++ b/sound/soc/mediatek/mt8173/mt8173-rt5650.c
@@ -335,5 +335,4 @@ module_platform_driver(mt8173_rt5650_driver);
MODULE_DESCRIPTION("MT8173 RT5650 SoC machine driver");
MODULE_AUTHOR("Koro Chen <koro.chen@xxxxxxxxxxxx>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("platform:mtk-rt5650");

--
2.7.4