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>
This commit is contained in:
Dmitry Osipenko 2019-06-05 15:26:13 +03:00 committed by Alexandre Belloni
parent d6624cc750
commit 59ab3f4060

View File

@ -419,5 +419,4 @@ module_platform_driver(tegra_rtc_driver);
MODULE_AUTHOR("Jon Mayo <jmayo@nvidia.com>"); MODULE_AUTHOR("Jon Mayo <jmayo@nvidia.com>");
MODULE_DESCRIPTION("driver for Tegra internal RTC"); MODULE_DESCRIPTION("driver for Tegra internal RTC");
MODULE_ALIAS("platform:tegra_rtc");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");