drivers/rtc/rtc-max77686.c: use module_platform_driver()
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:28 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:21 +0000 (18:28 -0700)
commit0c58ff587738c25e4402a51df6575230e7f099e1
tree97729288dd82648a3073eee779ebd90d4a1921bb
parent3e217b660281bbdf2db7e58725a4934b5635cb46
drivers/rtc/rtc-max77686.c: use module_platform_driver()

Use module_platform_driver() macro which makes the code smaller and
simpler.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-max77686.c