summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzk@kernel.org>2024-04-14 17:49:10 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2024-04-17 01:39:35 +0200
commit393e3d290f61492d2ff0b47319b753c4a03c0e5b (patch)
tree9c2717ef11d1ad76d798d730d293318bb6c8b3c5 /drivers
parentrtc: nuvoton: Modify part number value (diff)
downloadlinux-393e3d290f61492d2ff0b47319b753c4a03c0e5b.tar.xz
linux-393e3d290f61492d2ff0b47319b753c4a03c0e5b.zip
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-mcp795.c1
1 files changed, 0 insertions, 1 deletions
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");