]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-pcap: add __init/__exit annotation
authorJingoo Han <jg1.han@samsung.com>
Sun, 10 Mar 2013 10:54:56 +0000 (21:54 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 12 Mar 2013 03:56:36 +0000 (14:56 +1100)
commit80abce4b2d68a7fdacfcbf54126a020a31c84760
treea9838755d9f0e74549a0e6bf7d1d3f407240a864
parentc6f5be5d5a2fc8701f0f6c1eef0c9b6b2ac0645b
rtc: rtc-pcap: add __init/__exit 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-pcap.c