Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-06-11 17:44:47 +0200
committerTakashi Iwai <tiwai@suse.de>2019-06-11 17:44:47 +0200
commitfe16a23f11f2ad95012f08b48b48a1b65721d190 (patch)
tree144794ad7a6984249b0563568816c6f2955e9708
parentbac4bc3ff56415bb7b7d5850751f100f1fdc7b9c (diff)
rtc: don't reference bogus function pointer in kdoc
(bsc#1051510). suse-commit: 1310bf80300e4550ecc4a846d17a69c12dcfd4a0
-rw-r--r--drivers/rtc/interface.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/rtc/interface.c b/drivers/rtc/interface.c
index e4f951e968a4..6af53c44920b 100644
--- a/drivers/rtc/interface.c
+++ b/drivers/rtc/interface.c
@@ -482,10 +482,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);