diff mbox series

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

Message ID 20221003153711.271630-1-colin.i.king@gmail.com
State Accepted
Headers show
Series rtc: ds1685: Fix spelling of function name in comment block | expand

Commit Message

Colin Ian King Oct. 3, 2022, 3:37 p.m. UTC
The function name is missing the letter 'd' in the comment block.
Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/rtc/rtc-ds1685.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joshua Kinard Oct. 3, 2022, 8:47 p.m. UTC | #1
On 10/3/2022 11:37, Colin Ian King wrote:
> The function name is missing the letter 'd' in the comment block.
> Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
> ---
>   drivers/rtc/rtc-ds1685.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c
> index a24331ba8a5f..5db9c737c022 100644
> --- a/drivers/rtc/rtc-ds1685.c
> +++ b/drivers/rtc/rtc-ds1685.c
> @@ -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.
>    *

Acked-by: Joshua Kinard <kumba@gentoo.org>
Alexandre Belloni Oct. 13, 2022, 9:31 p.m. UTC | #2
On Mon, 3 Oct 2022 16:37:11 +0100, Colin Ian King wrote:
> 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,
diff mbox series

Patch

diff --git a/drivers/rtc/rtc-ds1685.c b/drivers/rtc/rtc-ds1685.c
index a24331ba8a5f..5db9c737c022 100644
--- a/drivers/rtc/rtc-ds1685.c
+++ b/drivers/rtc/rtc-ds1685.c
@@ -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.
  *