Skip to contentSkip to conversation

rtc: ds1685: Fix spelling of function name in comment block

PATCH Applied Colin Ian King 3 participants 3 messages Oct 3, 2022 – Oct 13, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: ds1685: Fix spelling of function name in comment block

The function name is missing the letter 'd' in the comment block. Fix it.

---
 drivers/rtc/rtc-ds1685.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-ds1685.c +1 -1
index a24331ba8a5f..5db9c737c022 100644
@@ -132,7 +132,7 @@ ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask)
 }
 
 /**
- * s1685_rtc_check_mday - check validity of the day of month.
+ * ds1685_rtc_check_mday - check validity of the day of month.
  * @rtc: pointer to the ds1685 rtc structure.
  * @mday: day of month.
  *
Signature · 1 line
2.37.1
Acked-by on v1 1/1
#1 lore raw
Quoted 13 lines · Colin Ian King

The function name is missing the letter 'd' in the comment block. Fix it.

---
  drivers/rtc/rtc-ds1685.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-ds1685.c +0 -0
index a24331ba8a5f..5db9c737c022 100644

drivers/rtc/rtc-ds1685.c ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask) · line 138

Quoted 8 lines
drivers/rtc/rtc-ds1685.c +1 -1
@@ -132,7 +132,7 @@ ds1685_rtc_bin2bcd(struct ds1685_priv *rtc, u8 val, u8 bin_mask, u8 bcd_mask)
  }
 
  /**
- * s1685_rtc_check_mday - check validity of the day of month.
+ * ds1685_rtc_check_mday - check validity of the day of month.
   * @rtc: pointer to the ds1685 rtc structure.
   * @mday: day of month.
   *
maintainer Applied
#2 lore raw
In reply to Colin Ian King
Quoted 4 lines · Colin Ian King

The function name is missing the letter 'd' in the comment block. Fix it.

Applied, thanks!

[1/1] rtc: ds1685: Fix spelling of function name in comment block

      commit: d73d66c0e05741b35b7398e647b8c4f2aaea9b09

Best regards,

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