net: dsa: microchip: drop unneeded MODULE_ALIAS
The ID table already has respective entry and MODULE_DEVICE_TABLE and creates proper alias for SPI driver. Having another MODULE_ALIAS causes the alias to be duplicated. Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org> Link: https://lore.kernel.org/r/20240414154929.127045-1-krzk@kernel.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
fd86344823
commit
9b07508845
@ -232,13 +232,6 @@ static struct spi_driver ksz_spi_driver = {
|
|||||||
|
|
||||||
module_spi_driver(ksz_spi_driver);
|
module_spi_driver(ksz_spi_driver);
|
||||||
|
|
||||||
MODULE_ALIAS("spi:ksz9477");
|
|
||||||
MODULE_ALIAS("spi:ksz9896");
|
|
||||||
MODULE_ALIAS("spi:ksz9897");
|
|
||||||
MODULE_ALIAS("spi:ksz9893");
|
|
||||||
MODULE_ALIAS("spi:ksz9563");
|
|
||||||
MODULE_ALIAS("spi:ksz8563");
|
|
||||||
MODULE_ALIAS("spi:ksz9567");
|
|
||||||
MODULE_ALIAS("spi:lan937x");
|
MODULE_ALIAS("spi:lan937x");
|
||||||
MODULE_AUTHOR("Tristram Ha <Tristram.Ha@microchip.com>");
|
MODULE_AUTHOR("Tristram Ha <Tristram.Ha@microchip.com>");
|
||||||
MODULE_DESCRIPTION("Microchip ksz Series Switch SPI Driver");
|
MODULE_DESCRIPTION("Microchip ksz Series Switch SPI Driver");
|
||||||
|
Loading…
Reference in New Issue
Block a user