diff mbox series

rtc: cleanup obsolete comment about struct rtc_class_ops

Message ID 20200710080003.7986-1-misono.tomohiro@jp.fujitsu.com
State Accepted
Headers show
Series rtc: cleanup obsolete comment about struct rtc_class_ops | expand

Commit Message

Misono Tomohiro July 10, 2020, 8 a.m. UTC
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>
---
 include/linux/rtc.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Alexandre Belloni July 16, 2020, 11:35 a.m. UTC | #1
On Fri, 10 Jul 2020 17:00:03 +0900, Misono Tomohiro wrote:
> 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.
> 
> [...]

Applied, thanks!

[1/1] rtc: cleanup obsolete comment about struct rtc_class_ops
      commit: a5e6f964bb2c613933de58a35ddfa306128ba004

Best regards,
diff mbox series

Patch

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);