summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2019-06-05 15:26:13 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-06-07 15:09:18 +0300
commit59ab3f4060fc90e4196c6ea4813a8b7512bf200b (patch)
treef62ad04ef331f5e72d9c5f5623582fdb59e030f5
parentd6624cc7502127c0e8e7c86bcf151850f1765bd3 (diff)
downloadlinux-59ab3f4060fc90e4196c6ea4813a8b7512bf200b.tar.xz
rtc: tegra: Drop MODULE_ALIAS
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> Acked-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-tegra.c1
1 files changed, 0 insertions, 1 deletions
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");