* [PATCH] rtc: mcp795: drop unneeded MODULE_ALIAS
@ 2024-04-14 15:49 Krzysztof Kozlowski
2024-04-16 23:43 ` Alexandre Belloni
0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2024-04-14 15:49 UTC (permalink / raw)
To: Alexandre Belloni, linux-rtc, 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/rtc/rtc-mcp795.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-mcp795.c b/drivers/rtc/rtc-mcp795.c
index 0d515b3df571..e12f0f806ec4 100644
--- a/drivers/rtc/rtc-mcp795.c
+++ b/drivers/rtc/rtc-mcp795.c
@@ -450,4 +450,3 @@ module_spi_driver(mcp795_driver);
MODULE_DESCRIPTION("MCP795 RTC SPI Driver");
MODULE_AUTHOR("Josef Gajdusek <atx@atx.name>");
MODULE_LICENSE("GPL");
-MODULE_ALIAS("spi:mcp795");
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-04-16 23:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-14 15:49 [PATCH] rtc: mcp795: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2024-04-16 23:43 ` Alexandre Belloni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®