]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rtc: interface: fix typos in rtc_handle_legacy_irq() documentation
authorYahya Saqban <yahyasaqban@gmail.com>
Tue, 12 May 2026 21:02:35 +0000 (00:02 +0300)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 22 Jun 2026 22:13:35 +0000 (00:13 +0200)
Fix spelling of 'occurence' to 'occurrence' and 'of' to 'or' in the
kernel-doc comment for rtc_handle_legacy_irq().

Signed-off-by: Yahya Saqban <yahyasaqban@gmail.com>
Link: https://patch.msgid.link/20260512210235.343070-1-yahyasaqban@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/interface.c

index 7859be8f2a923fea1e8524a5a25bcbd592f8bcf0..96626f8068f93daa912bc8b224e1b4d77d1f245f 100644 (file)
@@ -675,8 +675,8 @@ EXPORT_SYMBOL_GPL(rtc_update_irq_enable);
 /**
  * rtc_handle_legacy_irq - AIE, UIE and PIE event hook
  * @rtc: pointer to the rtc device
- * @num: number of occurence of the event
- * @mode: type of the event, RTC_AF, RTC_UF of RTC_PF
+ * @num: number of occurrence of the event
+ * @mode: type of the event, RTC_AF, RTC_UF or RTC_PF
  *
  * This function is called when an AIE, UIE or PIE mode interrupt
  * has occurred (or been emulated).