* [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* Re: [PATCH v1] rtc: tegra: Drop MODULE_ALIAS
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
1 sibling, 1 reply; 4+ messages in thread
From: Thierry Reding @ 2019-06-05 12:33 UTC (permalink / raw)
To: Dmitry Osipenko
Cc: Alessandro Zummo, Alexandre Belloni, Jonathan Hunter, linux-rtc,
linux-tegra, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 615 bytes --]
On Wed, Jun 05, 2019 at 03:26:13PM +0300, Dmitry Osipenko wrote:
> 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(-)
Acked-by: Thierry Reding <treding@nvidia.com>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] rtc: tegra: Drop MODULE_ALIAS
2019-06-05 12:33 ` Thierry Reding
@ 2019-06-05 12:43 ` Dmitry Osipenko
0 siblings, 0 replies; 4+ messages in thread
From: Dmitry Osipenko @ 2019-06-05 12:43 UTC (permalink / raw)
To: Thierry Reding
Cc: Alessandro Zummo, Alexandre Belloni, Jonathan Hunter, linux-rtc,
linux-tegra, linux-kernel
05.06.2019 15:33, Thierry Reding пишет:
> On Wed, Jun 05, 2019 at 03:26:13PM +0300, Dmitry Osipenko wrote:
>> 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(-)
>
> Acked-by: Thierry Reding <treding@nvidia.com>
>
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v1] rtc: tegra: Drop MODULE_ALIAS
2019-06-05 12:26 [PATCH v1] rtc: tegra: Drop MODULE_ALIAS Dmitry Osipenko
2019-06-05 12:33 ` Thierry Reding
@ 2019-06-07 12:11 ` Alexandre Belloni
1 sibling, 0 replies; 4+ messages in thread
From: Alexandre Belloni @ 2019-06-07 12:11 UTC (permalink / raw)
To: Dmitry Osipenko
Cc: Alessandro Zummo, Thierry Reding, Jonathan Hunter, linux-rtc,
linux-tegra, linux-kernel
On 05/06/2019 15:26:13+0300, Dmitry Osipenko wrote:
> 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(-)
>
Applied, thanks.
--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [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).