rtc: rtc-mxc: convert to module_platform_driver
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 5 Oct 2012 00:14:10 +0000 (17:14 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Oct 2012 18:05:04 +0000 (03:05 +0900)
commitbe8b6d510072461b50958527e7b157f53e5388d7
tree0b15ee361e714dbe710237f477449f079501b87e
parent0f3cde536d5015a918c4b3fd55fbe335428096e5
rtc: rtc-mxc: convert to module_platform_driver

Converting to module_platform_driver can make the code smaller and cleaner.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-mxc.c