mtd: mchp23k256: drop unneeded MODULE_ALIAS
PATCH 1/1 mtd: mchp23k256: 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 <[email protected]>
--- drivers/mtd/devices/mchp23k256.c | 1 - 1 file changed, 1 deletion(-)
drivers/mtd/devices/mchp23k256.c +0 -1
@@ -257,4 +257,3 @@ module_spi_driver(mchp23k256_driver);MODULE_DESCRIPTION ("MTD SPI driver for MCHP23K256 RAM chips" );MODULE_AUTHOR ("Andrew Lunn <[email protected]>" );MODULE_LICENSE ("GPL v2" ); -MODULE_ALIAS ("spi:mchp23k256" );
Signature · 1 line
2.34.1
Quoted 5 lines · Krzysztof Kozlowski
The ID table already has respective entry and
MODULE_DEVICE_TABLEand creates proper alias for SPI driver. Having anotherMODULE_ALIAScauses the alias to be duplicated.Signed-off-by Krzysztof Kozlowski <[email protected]>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel