Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1342249 > unrolled thread
| Started by | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| First post | 2016-02-24 18:30 +0100 |
| Last post | 2016-03-01 22:50 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] rtc: mt6397: Remove plaform module alias Javier Martinez Canillas <javier@osg.samsung.com> - 2016-02-24 18:30 +0100
Re: [PATCH] rtc: mt6397: Remove plaform module alias Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2016-03-01 22:50 +0100
| From | Javier Martinez Canillas <javier@osg.samsung.com> |
|---|---|
| Date | 2016-02-24 18:30 +0100 |
| Subject | [PATCH] rtc: mt6397: Remove plaform module alias |
| Message-ID | <r5Lqb-7M2-35@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Alexandre Belloni <alexandre.belloni@free-electrons.com> |
|---|---|
| Date | 2016-03-01 22:50 +0100 |
| Message-ID | <r80l4-6wz-21@gated-at.bofh.it> |
| In reply to | #1342249 |
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
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web