提交 f3617876 编写于 作者: S Sean Wang 提交者: Thierry Reding

pwm: mediatek: Remove redundant MODULE_ALIAS entries

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: NSean Wang <sean.wang@mediatek.com>
Signed-off-by: NThierry Reding <thierry.reding@gmail.com>
上级 360cc036
...@@ -298,5 +298,4 @@ static struct platform_driver mtk_pwm_driver = { ...@@ -298,5 +298,4 @@ static struct platform_driver mtk_pwm_driver = {
module_platform_driver(mtk_pwm_driver); module_platform_driver(mtk_pwm_driver);
MODULE_AUTHOR("John Crispin <blogic@openwrt.org>"); MODULE_AUTHOR("John Crispin <blogic@openwrt.org>");
MODULE_ALIAS("platform:mtk-pwm");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册