]> git.karo-electronics.de Git - karo-tx-linux.git/commit
rtc: rtc-ds1302: add __exit annotation
authorJingoo Han <jg1.han@samsung.com>
Wed, 20 Mar 2013 04:07:51 +0000 (15:07 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 22 Mar 2013 04:33:28 +0000 (15:33 +1100)
commit5d5bfe84c3f1cccbf853c3fe15dd62fb6fb1bfd6
tree83763c3bb2f81636968726dd22f41f3bee579b94
parent826813f84cf1ec2a8ca96f2ff0ee7df81342a7f8
rtc: rtc-ds1302: add __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-ds1302.c