[PATCH] net: freescale: drop unneeded MODULE_ALIAS

From: Krzysztof Kozlowski
Date: Fri Sep 17 2021 - 05:26:36 EST


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@xxxxxxxxxxxxx>
---
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