]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-mv: add __init annotation
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:50 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 21 Mar 2013 05:34:06 +0000 (16:34 +1100)
commit2fddf85d9722633dd4b43200886798dbd6547662
treeb0653c29e09218342bee95c348b153de683f9dc7
parent35cbec7427a7a93018e8edfc3a08090fd4f97c36
rtc: rtc-mv: add __init annotation

When platform_driver_probe() is used, bind/unbind via sysfs is disabled.
Thus, __init/__exit annotations can be added to probe()/remove().

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/rtc/rtc-mv.c