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