Re: [PATCH v1] rtc: tegra: Drop MODULE_ALIAS
From: Dmitry Osipenko
Date: Wed Jun 05 2019 - 08:47:23 EST
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@xxxxxxxxx>
>> ---
>> drivers/rtc/rtc-tegra.c | 1 -
>> 1 file changed, 1 deletion(-)
>
> Acked-by: Thierry Reding <treding@xxxxxxxxxx>
>
Thanks!