diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2019-04-03 18:19:52 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2019-04-04 11:07:11 +0300 |
commit | c48cadf5bf4becefcd0751b97995d2350aa9bb57 (patch) | |
tree | 878b9ef42f8bc64309a8ba866307d92e65da0a35 /drivers/rtc | |
parent | 169680dee73d308f2a355eafd58bc5754cd2f9e3 (diff) | |
download | linux-c48cadf5bf4becefcd0751b97995d2350aa9bb57.tar.xz |
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r-- | drivers/rtc/interface.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c index ccb7d6b4da3b..56ed0c3a8c85 100644 --- a/drivers/rtc/interface.c +++ b/drivers/rtc/interface.c @@ -573,10 +573,9 @@ out: mutex_unlock(&rtc->ops_lock); #ifdef CONFIG_RTC_INTF_DEV_UIE_EMUL /* - * Enable emulation if the driver did not provide - * the update_irq_enable function pointer or if returned - * -EINVAL to signal that it has been configured without - * interrupts or that are not available at the moment. + * Enable emulation if the driver returned -EINVAL to signal that it has + * been configured without interrupts or they are not available at the + * moment. */ if (err == -EINVAL) err = rtc_dev_update_irq_enable_emul(rtc, enabled); |