summaryrefslogtreecommitdiff
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-03-26 18:07:09 +0800
committerDavid S. Miller <davem@davemloft.net>2018-03-26 13:09:41 -0400
commit1c82c9e1f2ba9f32ac41012b91abddd639010f7a (patch)
tree538b156048cb41b404b0b7556806b888805e7cae /drivers/net/dsa
parentaaa3149bbee9ba9b4e6f0bd6e3e7d191edeae942 (diff)
downloadlinux-1c82c9e1f2ba9f32ac41012b91abddd639010f7a.tar.gz
net: dsa: mt7530: remove redundant MODULE_ALIAS entries
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>
Diffstat (limited to 'drivers/net/dsa')
-rw-r--r--drivers/net/dsa/mt7530.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c
index 8a0bb000d056..d31246cbefd1 100644
--- a/drivers/net/dsa/mt7530.c
+++ b/drivers/net/dsa/mt7530.c
@@ -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");