[PATCH] drivers/rtc: fix repeated words in comments

wangjianli posted 1 patch 3 years, 6 months ago
There is a newer version of this series
drivers/rtc/rtc-ds1286.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers/rtc: fix repeated words in comments
Posted by wangjianli 3 years, 6 months ago
Delete the redundant word 'to'.

Signed-off-by: wangjianli <wangjianli@cdjrlc.com>
---
 drivers/rtc/rtc-ds1286.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-ds1286.c b/drivers/rtc/rtc-ds1286.c
index 7acf849d4902..858682f67848 100644
--- a/drivers/rtc/rtc-ds1286.c
+++ b/drivers/rtc/rtc-ds1286.c
@@ -157,7 +157,7 @@ static int ds1286_read_time(struct device *dev, struct rtc_time *tm)
 	/*
 	 * read RTC once any update in progress is done. The update
 	 * can take just over 2ms. We wait 10 to 20ms. There is no need to
-	 * to poll-wait (up to 1s - eeccch) for the falling edge of RTC_UIP.
+	 * poll-wait (up to 1s - eeccch) for the falling edge of RTC_UIP.
 	 * If you need to know *exactly* when a second has started, enable
 	 * periodic update complete interrupts, (via ioctl) and then
 	 * immediately read /dev/rtc which will block until you get the IRQ.
-- 
2.36.1