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 <[email protected]>
---
drivers/rtc/rtc-omap.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c
index d46e0f0cc502..4d4f3b1a7309 100644
--- a/drivers/rtc/rtc-omap.c
+++ b/drivers/rtc/rtc-omap.c
@@ -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");
--
2.30.2
On Thu, 16 Sep 2021 18:45:12 +0200, Krzysztof Kozlowski wrote:
> The MODULE_DEVICE_TABLE already creates proper alias for platform
> driver. Having another MODULE_ALIAS causes the alias to be duplicated.
>
>
Applied, thanks!
[1/2] rtc: omap: drop unneeded MODULE_ALIAS
commit: 5e295f9402039aaa38d0949f598745b98850fd13
[2/2] rtc: s5m: drop unneeded MODULE_ALIAS
commit: 6eee1c48be7cb0b9b14408521a9151c1021901d3
Best regards,
--
Alexandre Belloni <[email protected]>