diff mbox series

[1/2] rtc: omap: drop unneeded MODULE_ALIAS

Message ID 20210916164513.134725-1-krzysztof.kozlowski@canonical.com
State Accepted
Headers show
Series [1/2] rtc: omap: drop unneeded MODULE_ALIAS | expand

Commit Message

Krzysztof Kozlowski Sept. 16, 2021, 4:45 p.m. UTC
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>
---
 drivers/rtc/rtc-omap.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Alexandre Belloni Sept. 25, 2021, 9:29 p.m. UTC | #1
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,
diff mbox series

Patch

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");