The function name is missing the letter 'd' in the comment block.
Fix it.
Signed-off-by: Colin Ian King <[email protected]>
---
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.
*
--
2.37.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 <[email protected]>
> ---
> 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 <[email protected]>
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,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com