Skip to content

Commit 6277967

Browse files
krzkmiquelraynal
authored andcommitted
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]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
1 parent f48d2d6 commit 6277967

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/mtd/devices/mchp23k256.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,3 @@ module_spi_driver(mchp23k256_driver);
257257
MODULE_DESCRIPTION("MTD SPI driver for MCHP23K256 RAM chips");
258258
MODULE_AUTHOR("Andrew Lunn <[email protected]>");
259259
MODULE_LICENSE("GPL v2");
260-
MODULE_ALIAS("spi:mchp23k256");

0 commit comments

Comments
 (0)