]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-tegra: add __init/__exit annotation
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:52 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:29 +0000 (15:33 +1100)
commitd3f1b25fec20841934d26fa0d58e772e068dc03a
treed40ae52d01b1f769221d747fcfead8cd76c23838
parentad23ec509694a9efd7d580cdd5f56894b14c45b4
rtc: rtc-tegra: 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-tegra.c