Skip to content

Commit 393e3d2

Browse files
krzkalexandrebelloni
authored andcommitted
rtc: mcp795: 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 <krzk@kernel.org> Link: https://lore.kernel.org/r/20240414154910.126991-1-krzk@kernel.org Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 8b59a11 commit 393e3d2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/rtc/rtc-mcp795.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,4 +450,3 @@ module_spi_driver(mcp795_driver);
450450
MODULE_DESCRIPTION("MCP795 RTC SPI Driver");
451451
MODULE_AUTHOR("Josef Gajdusek <atx@atx.name>");
452452
MODULE_LICENSE("GPL");
453-
MODULE_ALIAS("spi:mcp795");

0 commit comments

Comments
 (0)