net: dsa: mt7530: remove redundant MODULE_ALIAS entries
authorSean Wang <sean.wang@mediatek.com>
Mon, 26 Mar 2018 10:07:09 +0000 (18:07 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Mar 2018 17:09:41 +0000 (13:09 -0400)
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>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mt7530.c

index 8a0bb000d05699f28e42d3a5547fffabfcc13341..d31246cbefd1b72edc3cffb91db3372f3b62139c 100644 (file)
@@ -1424,4 +1424,3 @@ mdio_module_driver(mt7530_mdio_driver);
 MODULE_AUTHOR("Sean Wang <sean.wang@mediatek.com>");
 MODULE_DESCRIPTION("Driver for Mediatek MT7530 Switch");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:mediatek-mt7530");