pwm: mediatek: Remove redundant MODULE_ALIAS entries
authorSean Wang <sean.wang@mediatek.com>
Mon, 26 Mar 2018 10:02:01 +0000 (18:02 +0800)
committerThierry Reding <thierry.reding@gmail.com>
Tue, 27 Mar 2018 22:31:59 +0000 (00:31 +0200)
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@mediatek.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-mediatek.c

index 796baea7e8feb60bd1146807bd91ae42c5e0cdb9..502c366c7d7c89d1182d560c8a534b54c524f78f 100644 (file)
@@ -298,5 +298,4 @@ static struct platform_driver mtk_pwm_driver = {
 module_platform_driver(mtk_pwm_driver);
 
 MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
-MODULE_ALIAS("platform:mtk-pwm");
 MODULE_LICENSE("GPL");