]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
rtc: mt6397: Remove plaform module alias
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 24 Feb 2016 17:26:20 +0000 (14:26 -0300)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 14 Mar 2016 16:08:26 +0000 (17:08 +0100)
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>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-mt6397.c

index 06a5c52b292f292fd619a4049ba264e84b064f70..44f622c3e0488aaf4481b5accd5b734adc3a39fe 100644 (file)
@@ -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");