]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/rtc/rtc-imxdi.c
rtc: rtc-imxdi: add __init/__exit annotation
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:18:24 +0000 (16:18 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:21 +0000 (18:28 -0700)
commit5073cba64fd0acb2555aad8f33ff4c64f68c15db
tree729fea3fb7a4f3451da7844b6634292d88dbfb79
parente3c70624e664f6390c699201a93b8528b818f24f
rtc: rtc-imxdi: 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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-imxdi.c