Commit 3bb23f1f authored by Zhang Jiaming's avatar Zhang Jiaming Committed by Alexandre Belloni

rtc: rs5c313: correct some spelling mistakes

Change 'modifed' to 'modified'.
Change 'Updata' to 'Update'.
Change 'Initiatlize' to 'Initialize'.
Signed-off-by: default avatarZhang Jiaming <jiaming@nfschina.com>
Link: https://lore.kernel.org/r/20220622085344.23519-1-jiaming@nfschina.comSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 2dc5e3fb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* Ricoh RS5C313 RTC device/driver * Ricoh RS5C313 RTC device/driver
* Copyright (C) 2007 Nobuhiro Iwamatsu * Copyright (C) 2007 Nobuhiro Iwamatsu
* *
* 2005-09-19 modifed by kogiidena * 2005-09-19 modified by kogiidena
* *
* Based on the old drivers/char/rs5c313_rtc.c by: * Based on the old drivers/char/rs5c313_rtc.c by:
* Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 2000 Philipp Rumpf <prumpf@tux.org>
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* 1.11a Daniele Bellucci: Audit create_proc_read_entry in rtc_init * 1.11a Daniele Bellucci: Audit create_proc_read_entry in rtc_init
* 1.12 Venkatesh Pallipadi: Hooks for emulating rtc on HPET base-timer * 1.12 Venkatesh Pallipadi: Hooks for emulating rtc on HPET base-timer
* CONFIG_HPET_EMULATE_RTC * CONFIG_HPET_EMULATE_RTC
* 1.13 Nobuhiro Iwamatsu: Updata driver. * 1.13 Nobuhiro Iwamatsu: Update driver.
*/ */
#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
...@@ -280,7 +280,7 @@ static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm) ...@@ -280,7 +280,7 @@ static int rs5c313_rtc_set_time(struct device *dev, struct rtc_time *tm)
while (1) { while (1) {
RS5C313_CEENABLE; /* CE:H */ RS5C313_CEENABLE; /* CE:H */
/* Initiatlize control reg. 24 hour */ /* Initialize control reg. 24 hour */
rs5c313_write_cntreg(0x04); rs5c313_write_cntreg(0x04);
if (!(rs5c313_read_cntreg() & RS5C313_CNTREG_ADJ_BSY)) if (!(rs5c313_read_cntreg() & RS5C313_CNTREG_ADJ_BSY))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment