]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: freescale: drop unneeded MODULE_ALIAS
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Fri, 17 Sep 2021 09:20:58 +0000 (11:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Sep 2021 12:01:40 +0000 (13:01 +0100)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/fec_main.c

index 80bd5c629fa00fd787b39cdf931edfb5c8b5296f..ec87b370bba1fb909784715a89a0637eb1ecc6ed 100644 (file)
@@ -4176,5 +4176,4 @@ static struct platform_driver fec_driver = {
 
 module_platform_driver(fec_driver);
 
-MODULE_ALIAS("platform:"DRIVER_NAME);
 MODULE_LICENSE("GPL");