[PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries
From: sean.wang
Date: Mon Mar 26 2018 - 06:02:14 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>
---
drivers/pwm/pwm-mediatek.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/pwm/pwm-mediatek.c b/drivers/pwm/pwm-mediatek.c
index 98b0a93..328c1247 100644
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -305,5 +305,4 @@ static struct platform_driver mtk_pwm_driver = {
module_platform_driver(mtk_pwm_driver);
MODULE_AUTHOR("John Crispin <blogic@xxxxxxxxxxx>");
-MODULE_ALIAS("platform:mtk-pwm");
MODULE_LICENSE("GPL");
--
2.7.4