linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] rtc: tegra: Drop MODULE_ALIAS
@ 2019-06-05 12:26 Dmitry Osipenko
  2019-06-05 12:33 ` Thierry Reding
  2019-06-07 12:11 ` Alexandre Belloni
  0 siblings, 2 replies; 4+ messages in thread
From: Dmitry Osipenko @ 2019-06-05 12:26 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, Thierry Reding,
	Jonathan Hunter
  Cc: linux-rtc, linux-tegra, linux-kernel

RTC driver was converted to OF driver long time ago. The MODULE_ALIAS
macro has no effect for the OF drivers since the alias is overridden by
the drivers core to follow the OF naming convention of the driver's alias,
which is based on the device-tree matching name.

$ cat /sys/devices/soc0/7000e000.rtc/modalias
of:NrtcT(null)Cnvidia,tegra20-rtc

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
---
 drivers/rtc/rtc-tegra.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/rtc/rtc-tegra.c b/drivers/rtc/rtc-tegra.c
index 8bbaea24926e..8fa1b3febf69 100644
--- a/drivers/rtc/rtc-tegra.c
+++ b/drivers/rtc/rtc-tegra.c
@@ -419,5 +419,4 @@ module_platform_driver(tegra_rtc_driver);
 
 MODULE_AUTHOR("Jon Mayo <jmayo@nvidia.com>");
 MODULE_DESCRIPTION("driver for Tegra internal RTC");
-MODULE_ALIAS("platform:tegra_rtc");
 MODULE_LICENSE("GPL");
-- 
2.21.0


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

end of thread, other threads:[~2019-06-07 12:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-05 12:26 [PATCH v1] rtc: tegra: Drop MODULE_ALIAS Dmitry Osipenko
2019-06-05 12:33 ` Thierry Reding
2019-06-05 12:43   ` Dmitry Osipenko
2019-06-07 12:11 ` 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).