rtc: interface: fix typos in rtc_handle_legacy_irq() documentation
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().
Signed-off-by Yahya Saqban <[email protected]>
--- drivers/rtc/interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/rtc/interface.c +2 -2
@@ -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
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