linux-samsung-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS
@ 2021-09-16 16:45 Krzysztof Kozlowski
  2021-09-16 16:46 ` [PATCH 2/2] rtc: s5m: " Krzysztof Kozlowski
  2021-09-25 21:29 ` [PATCH 1/2] rtc: omap: " Alexandre Belloni
  0 siblings, 2 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-16 16:45 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Krzysztof Kozlowski,
	Bartlomiej Zolnierkiewicz, linux-rtc, linux-kernel,
	linux-samsung-soc

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(-)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] rtc: s5m: drop unneeded MODULE_ALIAS
  2021-09-16 16:45 [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
@ 2021-09-16 16:46 ` Krzysztof Kozlowski
  2021-09-25 21:29 ` [PATCH 1/2] rtc: omap: " Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Krzysztof Kozlowski @ 2021-09-16 16:46 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Krzysztof Kozlowski,
	Bartlomiej Zolnierkiewicz, linux-rtc, linux-kernel,
	linux-samsung-soc

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-s5m.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-s5m.c b/drivers/rtc/rtc-s5m.c
index fb9c6b709e13..4243fe6d3842 100644
--- a/drivers/rtc/rtc-s5m.c
+++ b/drivers/rtc/rtc-s5m.c
@@ -861,4 +861,3 @@ module_platform_driver(s5m_rtc_driver);
 MODULE_AUTHOR("Sangbeom Kim <sbkim73@samsung.com>");
 MODULE_DESCRIPTION("Samsung S5M/S2MPS14 RTC driver");
 MODULE_LICENSE("GPL");
-MODULE_ALIAS("platform:s5m-rtc");
-- 
2.30.2


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS
  2021-09-16 16:45 [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
  2021-09-16 16:46 ` [PATCH 2/2] rtc: s5m: " Krzysztof Kozlowski
@ 2021-09-25 21:29 ` Alexandre Belloni
  1 sibling, 0 replies; 3+ messages in thread
From: Alexandre Belloni @ 2021-09-25 21:29 UTC (permalink / raw)
  To: Krzysztof Kozlowski, linux-rtc, Alessandro Zummo, linux-kernel,
	Bartlomiej Zolnierkiewicz, linux-samsung-soc
  Cc: Alexandre Belloni

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 <alexandre.belloni@bootlin.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-25 21:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-16 16:45 [PATCH 1/2] rtc: omap: drop unneeded MODULE_ALIAS Krzysztof Kozlowski
2021-09-16 16:46 ` [PATCH 2/2] rtc: s5m: " Krzysztof Kozlowski
2021-09-25 21:29 ` [PATCH 1/2] rtc: omap: " Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).