* [PATCH] rtc: mt6397: Remove plaform module alias
@ 2016-02-24 17:26 ` Javier Martinez Canillas
0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-02-24 17:26 UTC (permalink / raw)
To: linux-kernel
Cc: Arnd Bergmann, Javier Martinez Canillas, Alessandro Zummo,
rtc-linux, Alexandre Belloni, linux-mediatek, Eddie Huang,
linux-arm-kernel
The driver uses the MODULE_ALIAS() macro to export a platform module alias
to allow the module to be autoloaded if the device is registered using the
legacy platform registration mechanism but the driver is always used by OF
only machines so the alias is not needed and should just be removed.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Hello,
This patch supersedes "rtc: mt6397: Add platform device ID table":
https://lkml.org/lkml/2016/2/9/192.
Best regards,
Javier
drivers/rtc/rtc-mt6397.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c
index 06a5c52b292f..44f622c3e048 100644
--- a/drivers/rtc/rtc-mt6397.c
+++ b/drivers/rtc/rtc-mt6397.c
@@ -419,4 +419,3 @@ module_platform_driver(mtk_rtc_driver);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Tianping Fang <tianping.fang@mediatek.com>");
MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC");
-MODULE_ALIAS("platform:mt6397-rtc");
--
2.5.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [rtc-linux] [PATCH] rtc: mt6397: Remove plaform module alias
@ 2016-02-24 17:26 ` Javier Martinez Canillas
0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-02-24 17:26 UTC (permalink / raw)
To: linux-kernel
Cc: Arnd Bergmann, Javier Martinez Canillas, Alessandro Zummo,
rtc-linux, Alexandre Belloni, linux-mediatek, Eddie Huang,
linux-arm-kernel
The driver uses the MODULE_ALIAS() macro to export a platform module alias
to allow the module to be autoloaded if the device is registered using the
legacy platform registration mechanism but the driver is always used by OF
only machines so the alias is not needed and should just be removed.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Hello,
This patch supersedes "rtc: mt6397: Add platform device ID table":
https://lkml.org/lkml/2016/2/9/192.
Best regards,
Javier
drivers/rtc/rtc-mt6397.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c
index 06a5c52b292f..44f622c3e048 100644
--- a/drivers/rtc/rtc-mt6397.c
+++ b/drivers/rtc/rtc-mt6397.c
@@ -419,4 +419,3 @@ module_platform_driver(mtk_rtc_driver);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Tianping Fang <tianping.fang@mediatek.com>");
MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC");
-MODULE_ALIAS("platform:mt6397-rtc");
--
2.5.0
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] rtc: mt6397: Remove plaform module alias
@ 2016-02-24 17:26 ` Javier Martinez Canillas
0 siblings, 0 replies; 6+ messages in thread
From: Javier Martinez Canillas @ 2016-02-24 17:26 UTC (permalink / raw)
To: linux-arm-kernel
The driver uses the MODULE_ALIAS() macro to export a platform module alias
to allow the module to be autoloaded if the device is registered using the
legacy platform registration mechanism but the driver is always used by OF
only machines so the alias is not needed and should just be removed.
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
---
Hello,
This patch supersedes "rtc: mt6397: Add platform device ID table":
https://lkml.org/lkml/2016/2/9/192.
Best regards,
Javier
drivers/rtc/rtc-mt6397.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/rtc/rtc-mt6397.c b/drivers/rtc/rtc-mt6397.c
index 06a5c52b292f..44f622c3e048 100644
--- a/drivers/rtc/rtc-mt6397.c
+++ b/drivers/rtc/rtc-mt6397.c
@@ -419,4 +419,3 @@ module_platform_driver(mtk_rtc_driver);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Tianping Fang <tianping.fang@mediatek.com>");
MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC");
-MODULE_ALIAS("platform:mt6397-rtc");
--
2.5.0
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] rtc: mt6397: Remove plaform module alias
2016-02-24 17:26 ` [rtc-linux] " Javier Martinez Canillas
(?)
@ 2016-03-01 21:49 ` Alexandre Belloni
-1 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2016-03-01 21:49 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, Arnd Bergmann, Alessandro Zummo, rtc-linux,
linux-mediatek, Eddie Huang, linux-arm-kernel
On 24/02/2016 at 14:26:20 -0300, Javier Martinez Canillas wrote :
> The driver uses the MODULE_ALIAS() macro to export a platform module alias
> to allow the module to be autoloaded if the device is registered using the
> legacy platform registration mechanism but the driver is always used by OF
> only machines so the alias is not needed and should just be removed.
>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>
> ---
> Hello,
>
> This patch supersedes "rtc: mt6397: Add platform device ID table":
> https://lkml.org/lkml/2016/2/9/192.
>
> Best regards,
> Javier
>
> drivers/rtc/rtc-mt6397.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [rtc-linux] Re: [PATCH] rtc: mt6397: Remove plaform module alias
@ 2016-03-01 21:49 ` Alexandre Belloni
0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2016-03-01 21:49 UTC (permalink / raw)
To: Javier Martinez Canillas
Cc: linux-kernel, Arnd Bergmann, Alessandro Zummo, rtc-linux,
linux-mediatek, Eddie Huang, linux-arm-kernel
On 24/02/2016 at 14:26:20 -0300, Javier Martinez Canillas wrote :
> The driver uses the MODULE_ALIAS() macro to export a platform module alias
> to allow the module to be autoloaded if the device is registered using the
> legacy platform registration mechanism but the driver is always used by OF
> only machines so the alias is not needed and should just be removed.
>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>
> ---
> Hello,
>
> This patch supersedes "rtc: mt6397: Add platform device ID table":
> https://lkml.org/lkml/2016/2/9/192.
>
> Best regards,
> Javier
>
> drivers/rtc/rtc-mt6397.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
--
--
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
---
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH] rtc: mt6397: Remove plaform module alias
@ 2016-03-01 21:49 ` Alexandre Belloni
0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Belloni @ 2016-03-01 21:49 UTC (permalink / raw)
To: linux-arm-kernel
On 24/02/2016 at 14:26:20 -0300, Javier Martinez Canillas wrote :
> The driver uses the MODULE_ALIAS() macro to export a platform module alias
> to allow the module to be autoloaded if the device is registered using the
> legacy platform registration mechanism but the driver is always used by OF
> only machines so the alias is not needed and should just be removed.
>
> Suggested-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
>
> ---
> Hello,
>
> This patch supersedes "rtc: mt6397: Add platform device ID table":
> https://lkml.org/lkml/2016/2/9/192.
>
> Best regards,
> Javier
>
> drivers/rtc/rtc-mt6397.c | 1 -
> 1 file changed, 1 deletion(-)
Applied, thanks.
--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2016-03-01 21:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24 17:26 [PATCH] rtc: mt6397: Remove plaform module alias Javier Martinez Canillas
2016-02-24 17:26 ` Javier Martinez Canillas
2016-02-24 17:26 ` [rtc-linux] " Javier Martinez Canillas
2016-03-01 21:49 ` Alexandre Belloni
2016-03-01 21:49 ` Alexandre Belloni
2016-03-01 21:49 ` [rtc-linux] " Alexandre Belloni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.