Skip to content

Commit b935448

Browse files
shaomin Dengalexandrebelloni
authored andcommitted
rtc: remove duplicated words in comments
Signed-off-by: shaomin Deng <dengshaomin@cdjrlc.com> Link: https://lore.kernel.org/r/20220808152354.3641-1-dengshaomin@cdjrlc.com Link: https://lore.kernel.org/r/20220808153454.6844-1-dengshaomin@cdjrlc.com Link: https://lore.kernel.org/r/20220808152822.5012-1-dengshaomin@cdjrlc.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 16b26f6 commit b935448

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

drivers/rtc/interface.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ int __rtc_read_alarm(struct rtc_device *rtc, struct rtc_wkalrm *alarm)
256256
*
257257
* This could all instead be done in the lower level driver,
258258
* but since more than one lower level RTC implementation needs it,
259-
* then it's probably best best to do it here instead of there..
259+
* then it's probably best to do it here instead of there..
260260
*/
261261

262262
/* Get the "before" timestamp */

drivers/rtc/rtc-m41t80.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ static void wdt_disable(void)
692692
* @ppos: pointer to the position to write. No seeks allowed
693693
*
694694
* A write to a watchdog device is defined as a keepalive signal. Any
695-
* write of data will do, as we we don't define content meaning.
695+
* write of data will do, as we don't define content meaning.
696696
*/
697697
static ssize_t wdt_write(struct file *file, const char __user *buf,
698698
size_t count, loff_t *ppos)

drivers/rtc/rtc-rs5c372.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static int rs5c_get_regs(struct rs5c372 *rs5c)
150150
* least 80219 chips; this works around that bug.
151151
*
152152
* The third method on the other hand doesn't work for the SMBus-only
153-
* configurations, so we use the the first method there, stripping off
153+
* configurations, so we use the first method there, stripping off
154154
* the extra register in the process.
155155
*/
156156
if (rs5c->smbus) {

0 commit comments

Comments
 (0)