Skip to content

Commit

Permalink
rtc: mt6397: Remove plaform module alias
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Alexandre Belloni <[email protected]>
  • Loading branch information
Javier Martinez Canillas authored and alexandrebelloni committed Mar 14, 2016
1 parent ba270bb commit 582841a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/rtc/rtc-mt6397.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,4 +419,3 @@ module_platform_driver(mtk_rtc_driver);
MODULE_LICENSE("GPL v2");
MODULE_AUTHOR("Tianping Fang <[email protected]>");
MODULE_DESCRIPTION("RTC Driver for MediaTek MT6397 PMIC");
MODULE_ALIAS("platform:mt6397-rtc");

0 comments on commit 582841a

Please sign in to comment.