* [PATCH] mtd: mchp23k256: drop unneeded MODULE_ALIAS
@ 2024-04-14 15:49 Krzysztof Kozlowski
2024-04-15 10:06 ` Miquel Raynal
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-14 15:49 UTC (permalink / raw)
To: Miquel Raynal, Richard Weinberger, Vignesh Raghavendra, linux-mtd,
linux-kernel
Cc: Krzysztof Kozlowski
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>
---
drivers/mtd/devices/mchp23k256.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c
index d533475fda15..cef5f9677d39 100644
--- 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");
--
2.34.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 1/2] eeprom: at25: drop unneeded MODULE_ALIAS
@ 2024-04-14 15:49 Krzysztof Kozlowski
2024-04-14 15:49 ` [PATCH] mtd: mchp23k256: " Krzysztof Kozlowski
0 siblings, 1 reply; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-14 15:49 UTC (permalink / raw)
To: Arnd Bergmann, Greg Kroah-Hartman, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, linux-kernel, linux-mtd
Cc: Krzysztof Kozlowski
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>
---
drivers/misc/eeprom/at25.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/misc/eeprom/at25.c b/drivers/misc/eeprom/at25.c
index 65d49a6de1a7..595ceb9a7126 100644
--- a/drivers/misc/eeprom/at25.c
+++ b/drivers/misc/eeprom/at25.c
@@ -529,4 +529,3 @@ module_spi_driver(at25_driver);
MODULE_DESCRIPTION("Driver for most SPI EEPROMs");
MODULE_AUTHOR("David Brownell");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("spi:at25");
--
2.34.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH] mtd: mchp23k256: drop unneeded MODULE_ALIAS
2024-04-14 15:49 [PATCH 1/2] eeprom: at25: " Krzysztof Kozlowski
@ 2024-04-14 15:49 ` Krzysztof Kozlowski
0 siblings, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-14 15:49 UTC (permalink / raw)
To: Arnd Bergmann, Greg Kroah-Hartman, Miquel Raynal,
Richard Weinberger, Vignesh Raghavendra, linux-kernel, linux-mtd
Cc: Krzysztof Kozlowski
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>
---
drivers/mtd/devices/mchp23k256.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mtd/devices/mchp23k256.c b/drivers/mtd/devices/mchp23k256.c
index d533475fda15..cef5f9677d39 100644
--- 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");
--
2.34.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-04-15 10:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-14 15:49 [PATCH] mtd: mchp23k256: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2024-04-15 10:06 ` Miquel Raynal
-- strict thread matches above, loose matches on Subject: below --
2024-04-14 15:49 [PATCH 1/2] eeprom: at25: " Krzysztof Kozlowski
2024-04-14 15:49 ` [PATCH] mtd: mchp23k256: " Krzysztof Kozlowski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox