Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

rtc: don't reference bogus function pointer in kdoc

The mentioned function pointer is long gone since early 2011. Remove the
reference in the comment and reword it slightly.

Fixes: 51ba60c5bb3b ("RTC: Cleanup rtc_class_ops->update_irq_enable()")
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Wolfram Sang and committed by
Alexandre Belloni
c48cadf5 169680de

+3 -4
+3 -4
drivers/rtc/interface.c
··· 573 573 mutex_unlock(&rtc->ops_lock); 574 574 #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL 575 575 /* 576 - * Enable emulation if the driver did not provide 577 - * the update_irq_enable function pointer or if returned 578 - * -EINVAL to signal that it has been configured without 579 - * interrupts or that are not available at the moment. 576 + * Enable emulation if the driver returned -EINVAL to signal that it has 577 + * been configured without interrupts or they are not available at the 578 + * moment. 580 579 */ 581 580 if (err == -EINVAL) 582 581 err = rtc_dev_update_irq_enable_emul(rtc, enabled);