]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-mv: add __init annotation
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 23:25:11 +0000 (10:25 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 4 Apr 2013 06:12:32 +0000 (17:12 +1100)
commit7d8302ea4d8240d0cbfa0960134bbf9ef168557d
treef5c4c82f333e3bdd661214bc26f7e82a945f8792
parent6e2c8f45c731e6b83a0de519b17391a1cfc4f18b
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