Skip to content

Commit

Permalink
rtc: cleanup obsolete comment about struct rtc_class_ops
Browse files Browse the repository at this point in the history
Commit ea369ea ("rtc: remove .open() and .release()") removes
open/release callback from struct rtc_class_ops.

Also commit 80d4bb5 ("RTC: Cleanup rtc_class_ops->irq_set_state")
and commit 696160f ("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
  • Loading branch information
Misono Tomohiro authored and Alexandre Belloni committed Jul 16, 2020
1 parent 4df2ef8 commit a5e6f96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions include/linux/rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a5e6f96

Please sign in to comment.