Skip to contentSkip to conversation

rtc: interface: fix typos in rtc_handle_legacy_irq() documentation

PATCH Applied Yahya Saqban 2 participants 2 messages May 12 – Jun 24 Real time clock (RTC)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: interface: fix typos in rtc_handle_legacy_irq() documentation

Fix spelling of 'occurence' to 'occurrence' and 'of' to 'or' in the kernel-doc comment for rtc_handle_legacy_irq().

---
 drivers/rtc/interface.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/rtc/interface.c +2 -2
index 1906f4884..d7106cb29 100644
@@ -635,8 +635,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).
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw
Quoted 2 lines · Yahya Saqban

Fix spelling of 'occurence' to 'occurrence' and 'of' to 'or' in the kernel-doc comment for rtc_handle_legacy_irq().

Applied, thanks!

[1/1] rtc: interface: fix typos in rtc_handle_legacy_irq() documentation

      https://git.kernel.org/abelloni/c/4202e4254403

Best regards,

Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com