Skip to content

Commit a5e6f96

Browse files
Misono Tomohiroalexandrebelloni
authored andcommitted
rtc: cleanup obsolete comment about struct rtc_class_ops
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
1 parent 4df2ef8 commit a5e6f96

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

include/linux/rtc.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ extern struct class *rtc_class;
5555
*
5656
* The (current) exceptions are mostly filesystem hooks:
5757
* - the proc() hook for procfs
58-
* - non-ioctl() chardev hooks: open(), release()
59-
*
60-
* REVISIT those periodic irq calls *do* have ops_lock when they're
61-
* issued through ioctl() ...
6258
*/
6359
struct rtc_class_ops {
6460
int (*ioctl)(struct device *, unsigned int, unsigned long);

0 commit comments

Comments
 (0)