From: Sean Wang <[email protected]>
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 <[email protected]>
---
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 <[email protected]>");
-MODULE_ALIAS("platform:mtk-pwm");
MODULE_LICENSE("GPL");
--
2.7.4
On Mon, Mar 26, 2018 at 06:02:01PM +0800, [email protected] wrote:
> From: Sean Wang <[email protected]>
>
> 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 <[email protected]>
> ---
> drivers/pwm/pwm-mediatek.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
Thierry