]> 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>
Thu, 7 Feb 2013 01:27:45 +0000 (12:27 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 18 Feb 2013 05:47:16 +0000 (16:47 +1100)
commit83766911a1acec540ec0fae6dd37e65a844cfa82
tree04ac61da3a1f2945b9b1296515e3182cc5f3fa68
parenta70311bac969a4628142e2c7361177d73f08471b
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