All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net: freescale: drop unneeded MODULE_ALIAS
@ 2021-09-17  9:20 Krzysztof Kozlowski
  2021-09-19 12:10 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-17  9:20 UTC (permalink / raw)
  To: linux-kernel
  Cc: Krzysztof Kozlowski, Joakim Zhang, David S. Miller,
	Jakub Kicinski, netdev

The MODULE_DEVICE_TABLE already creates proper alias for platform
driver.  Having another MODULE_ALIAS causes the alias to be duplicated.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
---
 drivers/net/ethernet/freescale/fec_main.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c
index 80bd5c629fa0..ec87b370bba1 100644
--- a/drivers/net/ethernet/freescale/fec_main.c
+++ b/drivers/net/ethernet/freescale/fec_main.c
@@ -4176,5 +4176,4 @@ static struct platform_driver fec_driver = {
 
 module_platform_driver(fec_driver);
 
-MODULE_ALIAS("platform:"DRIVER_NAME);
 MODULE_LICENSE("GPL");
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] net: freescale: drop unneeded MODULE_ALIAS
  2021-09-17  9:20 [PATCH] net: freescale: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
@ 2021-09-19 12:10 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-19 12:10 UTC (permalink / raw)
  To: Krzysztof Kozlowski; +Cc: linux-kernel, qiangqing.zhang, davem, kuba, netdev

Hello:

This patch was applied to netdev/net.git (refs/heads/master):

On Fri, 17 Sep 2021 11:20:58 +0200 you wrote:
> The MODULE_DEVICE_TABLE already creates proper alias for platform
> driver.  Having another MODULE_ALIAS causes the alias to be duplicated.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
> ---
>  drivers/net/ethernet/freescale/fec_main.c | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - net: freescale: drop unneeded MODULE_ALIAS
    https://git.kernel.org/netdev/net/c/fdb475838539

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-19 12:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-17  9:20 [PATCH] net: freescale: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2021-09-19 12:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.