This patch converts the drivers in drivers/rtc/* to use the
module_platform_driver() macro which makes the code smaller and a bit
simpler.
Cc: Haojian Zhuang<haojian.zhuang@xxxxxxxxxxx>
Cc: Alessandro Zummo<a.zummo@xxxxxxxxxxxx>
Cc: Srinidhi Kasagar<srinidhi.kasagar@xxxxxxxxxxxxxx>
Cc: Linus Walleij<linus.walleij@xxxxxxxxxxxxxx>
Cc: Mike Frysinger<vapier.adi@xxxxxxxxx>
Cc: Guan Xuetao<gxt@xxxxxxxxxxxxxxx>
Cc: Mark Brown<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Cc: Lars-Peter Clausen<lars@xxxxxxxxxx>
Cc: Ben Dooks<ben@xxxxxxxxxxxx>
Cc: John Stultz<john.stultz@xxxxxxxxxx>
Signed-off-by: Axel Lin<axel.lin@xxxxxxxxx>