Skip to content

Commit 3bb23f1

Browse files
Zhang Jiamingalexandrebelloni
authored andcommitted
rtc: rs5c313: correct some spelling mistakes
Change 'modifed' to 'modified'. Change 'Updata' to 'Update'. Change 'Initiatlize' to 'Initialize'. Signed-off-by: Zhang Jiaming <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Alexandre Belloni <[email protected]>
1 parent 2dc5e3f commit 3bb23f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/rtc/rtc-rs5c313.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Ricoh RS5C313 RTC device/driver
33
* Copyright (C) 2007 Nobuhiro Iwamatsu
44
*
5-
* 2005-09-19 modifed by kogiidena
5+
* 2005-09-19 modified by kogiidena
66
*
77
* Based on the old drivers/char/rs5c313_rtc.c by:
88
* Copyright (C) 2000 Philipp Rumpf <[email protected]>
@@ -36,7 +36,7 @@
3636
* 1.11a Daniele Bellucci: Audit create_proc_read_entry in rtc_init
3737
* 1.12 Venkatesh Pallipadi: Hooks for emulating rtc on HPET base-timer
3838
* CONFIG_HPET_EMULATE_RTC
39-
* 1.13 Nobuhiro Iwamatsu: Updata driver.
39+
* 1.13 Nobuhiro Iwamatsu: Update driver.
4040
*/
4141

4242
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
@@ -280,7 +280,7 @@ static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm)
280280
while (1) {
281281
RS5C313_CEENABLE; /* CE:H */
282282

283-
/* Initiatlize control reg. 24 hour */
283+
/* Initialize control reg. 24 hour */
284284
rs5c313_write_cntreg(0x04);
285285

286286
if (!(rs5c313_read_cntreg() & RS5C313_CNTREG_ADJ_BSY))

0 commit comments

Comments
 (0)