drivers/rtc/rtc-ds2404.c: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Fri, 22 Feb 2013 00:44:31 +0000 (16:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 22 Feb 2013 01:22:27 +0000 (17:22 -0800)
commit56ae1b8e420015f1428bf9443f1b3321ad789b02
tree0c52b964106fbfc5b62d2fbefc377bd85dfceb19
parent0b7e039243425b07a952b81ea5b4d86f46d9cf25
drivers/rtc/rtc-ds2404.c: use module_platform_driver macro

Remove removes some code duplication by using module_platform_driver().

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@st.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-ds2404.c