* [PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries
@ 2018-03-26 10:02 sean.wang
2018-03-27 22:33 ` Thierry Reding
0 siblings, 1 reply; 2+ messages in thread
From: sean.wang @ 2018-03-26 10:02 UTC (permalink / raw)
To: thierry.reding, matthias.bgg
Cc: linux-pwm, linux-arm-kernel, linux-mediatek, linux-kernel,
Sean Wang
From: Sean Wang <sean.wang@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@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@openwrt.org>");
-MODULE_ALIAS("platform:mtk-pwm");
MODULE_LICENSE("GPL");
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries
2018-03-26 10:02 [PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries sean.wang
@ 2018-03-27 22:33 ` Thierry Reding
0 siblings, 0 replies; 2+ messages in thread
From: Thierry Reding @ 2018-03-27 22:33 UTC (permalink / raw)
To: sean.wang
Cc: matthias.bgg, linux-pwm, linux-arm-kernel, linux-mediatek,
linux-kernel
[-- Attachment #1: Type: text/plain, Size: 569 bytes --]
On Mon, Mar 26, 2018 at 06:02:01PM +0800, sean.wang@mediatek.com wrote:
> From: Sean Wang <sean.wang@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@mediatek.com>
> ---
> drivers/pwm/pwm-mediatek.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
Thierry
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-03-27 22:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 10:02 [PATCH] pwm: mediatek: remove redundant MODULE_ALIAS entries sean.wang
2018-03-27 22:33 ` Thierry Reding
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).