rtc: omap: drop unneeded MODULE_ALIAS
authorKrzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Thu, 16 Sep 2021 16:45:12 +0000 (18:45 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sat, 25 Sep 2021 21:26:37 +0000 (23:26 +0200)
The MODULE_DEVICE_TABLE already creates proper alias for platform
driver.  Having another MODULE_ALIAS causes the alias to be duplicated.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20210916164513.134725-1-krzysztof.kozlowski@canonical.com
drivers/rtc/rtc-omap.c

index d46e0f0..4d4f3b1 100644 (file)
@@ -1029,6 +1029,5 @@ static struct platform_driver omap_rtc_driver = {
 
 module_platform_driver(omap_rtc_driver);
 
-MODULE_ALIAS("platform:omap_rtc");
 MODULE_AUTHOR("George G. Davis (and others)");
 MODULE_LICENSE("GPL");