Message ID | 2497321afc9156f7954e813721f60a0a95c03bd2.1522057659.git.sean.wang@mediatek.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
Series | [net,1/2] net: dsa: mt7530: remove redundant MODULE_ALIAS entries | expand |
On Mon, Mar 26, 2018 at 06:07:09PM +0800, sean.wang@mediatek.com wrote: > From: Sean Wang <sean.wang@mediatek.com> > > 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> For this, and the second patch: Reviewed-by: Andrew Lunn <andrew@lunn.ch> Andrew
From: <sean.wang@mediatek.com> Date: Mon, 26 Mar 2018 18:07:09 +0800 > From: Sean Wang <sean.wang@mediatek.com> > > 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> Applied.
diff --git a/drivers/net/dsa/mt7530.c b/drivers/net/dsa/mt7530.c index 8a0bb00..d31246c 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");