rtc-puv3: using module_platform_driver()
authorGuan Xuetao <gxt@mprc.pku.edu.cn>
Mon, 26 Dec 2011 09:03:50 +0000 (17:03 +0800)
committerGuan Xuetao <gxt@mprc.pku.edu.cn>
Tue, 10 Jan 2012 02:29:42 +0000 (10:29 +0800)
commit60e2b00ea200e1527668bfb766ecbdf578ad7de8
treea278ccad1a1c921c1d4eac69d69cb50e05466191
parent858af58f67d4aba8afb02438e74292b9273cdb10
rtc-puv3: using module_platform_driver()

This patch converts the driver to use the module_platform_driver()
macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Guan Xuetao <gxt@mprc.pku.edu.cn>
drivers/rtc/rtc-puv3.c