rtc: mcp795: drop unneeded MODULE_ALIAS
authorKrzysztof Kozlowski <krzk@kernel.org>
Sun, 14 Apr 2024 15:49:10 +0000 (17:49 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 16 Apr 2024 23:39:35 +0000 (01:39 +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>
Link: https://lore.kernel.org/r/20240414154910.126991-1-krzk@kernel.org
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-mcp795.c

index 0d515b3df57103fa30a6bea5c8df4af6c14bdcaf..e12f0f806ec4fa196f81c024ae4324d16f73121a 100644 (file)
@@ -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");