projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48d2d6
)
mtd: mchp23k256: drop unneeded MODULE_ALIAS
author
Krzysztof Kozlowski
<krzk@kernel.org>
Sun, 14 Apr 2024 15:49:43 +0000
(17:49 +0200)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Mon, 15 Apr 2024 10:06:06 +0000
(12:06 +0200)
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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link:
https://lore.kernel.org/linux-mtd/20240414154943.127079-1-krzk@kernel.org
drivers/mtd/devices/mchp23k256.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/devices/mchp23k256.c
b/drivers/mtd/devices/mchp23k256.c
index d533475fda159315fa22e0c7e89dcd7d328c9f9f..cef5f9677d39eba98a37c0ab1fb13ce62eef367e 100644
(file)
--- a/
drivers/mtd/devices/mchp23k256.c
+++ b/
drivers/mtd/devices/mchp23k256.c
@@
-257,4
+257,3
@@
module_spi_driver(mchp23k256_driver);
MODULE_DESCRIPTION("MTD SPI driver for MCHP23K256 RAM chips");
MODULE_AUTHOR("Andrew Lunn <andre@lunn.ch>");
MODULE_LICENSE("GPL v2");
-MODULE_ALIAS("spi:mchp23k256");