[PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries
sean.wang at mediatek.com
sean.wang at mediatek.com
Mon Mar 26 03:02:01 PDT 2018
From: Sean Wang <sean.wang at mediatek.com>
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 at mediatek.com>
---
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 at openwrt.org>");
-MODULE_ALIAS("platform:mtk-pwm");
MODULE_LICENSE("GPL");
--
2.7.4
More information about the Linux-mediatek
mailing list