]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-ds2404.c: use module_platform_driver macro
authorSrinivas Kandagatla <srinivas.kandagatla@st.com>
Wed, 20 Feb 2013 02:15:43 +0000 (13:15 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 20 Feb 2013 05:53:25 +0000 (16:53 +1100)
commitd5b701d2e96ddc80d3450d9e07efec536b2bb906
tree66a70cb1e91842b804d3566ee79434b5e79c5dda
parent326ac78808a06e0354f9d832356f146971bc51ca
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>
drivers/rtc/rtc-ds2404.c