rtc: max77660: use module_platform_driver
authorLaxman Dewangan <ldewangan@nvidia.com>
Mon, 21 Jan 2013 05:46:03 +0000 (10:46 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:50:49 +0000 (12:50 -0700)
commit7b782769dcad5c6c02b1cd8ffdb341bbf78c77ed
tree95af0e550b10b912ae68160d505ffb932eb26d39
parentf58075a8040182cb107fd08528d8e2a142e5dee5
rtc: max77660: use module_platform_driver

Use module_platform_driver in place of module_init() and
module_exit() for reducing code lines.

Change-Id: I8ccfb403cd6e1dd3a2134577ee1bb9a5568063c5
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/192833
Reviewed-by: Automatic_Commit_Validation_User
drivers/rtc/rtc-max77660.c