From: Javier Martinez Canillas Date: Wed, 24 Feb 2016 17:26:20 +0000 (-0300) Subject: rtc: mt6397: Remove plaform module alias X-Git-Tag: v4.6-rc1~144^2~30 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=582841a4f66f64ed08450fcb8f716cacc51ac7d7;p=linux.git rtc: mt6397: Remove plaform module alias 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 Signed-off-by: Javier Martinez Canillas Signed-off-by: Alexandre Belloni --- 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 "); MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC"); -MODULE_ALIAS("platform:mt6397-rtc");