summaryrefslogtreecommitdiff
path: root/include/linux/rtc.h
diff options
context:
space:
mode:
authorMisono Tomohiro <misono.tomohiro@jp.fujitsu.com>2020-07-10 11:00:03 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-07-16 14:35:25 +0300
commita5e6f964bb2c613933de58a35ddfa306128ba004 (patch)
tree1875687eafe9c295338508c4ad43817daffa043d /include/linux/rtc.h
parent4df2ef85f0efe44505f511ca5e4455585f53a2da (diff)
downloadlinux-a5e6f964bb2c613933de58a35ddfa306128ba004.tar.xz
rtc: cleanup obsolete comment about struct rtc_class_ops
Commit ea369ea6d828 ("rtc: remove .open() and .release()") removes open/release callback from struct rtc_class_ops. Also commit 80d4bb515b78 ("RTC: Cleanup rtc_class_ops->irq_set_state") and commit 696160fec162 ("RTC: Cleanup rtc_class_ops->irq_set_freq()") removes irq callbacks. So, just remove related comments so that readers will not be confused. Signed-off-by: Misono Tomohiro <misono.tomohiro@jp.fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20200710080003.7986-1-misono.tomohiro@jp.fujitsu.com
Diffstat (limited to 'include/linux/rtc.h')
-rw-r--r--include/linux/rtc.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/rtc.h b/include/linux/rtc.h
index bba3db3f7efa..22d1575e4991 100644
--- a/include/linux/rtc.h
+++ b/include/linux/rtc.h
@@ -55,10 +55,6 @@ extern struct class *rtc_class;
*
* The (current) exceptions are mostly filesystem hooks:
* - the proc() hook for procfs
- * - non-ioctl() chardev hooks: open(), release()
- *
- * REVISIT those periodic irq calls *do* have ops_lock when they're
- * issued through ioctl() ...
*/
struct rtc_class_ops {
int (*ioctl)(struct device *, unsigned int, unsigned long);