From: Nick Huang <sef1548@gmail.com>
To: Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: linux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org,
kusogame68@gmail.com, n1136402@ntub.edu.tw,
Nick Huang <sef1548@gmail.com>
Subject: [PATCH] rtc: fix spelling typos in comments
Date: Wed, 21 Jan 2026 15:42:15 +0000 [thread overview]
Message-ID: <20260121154215.2360-1-sef1548@gmail.com> (raw)
Fix spelling typos in rtc-fm3130.c and rtc-rs5c372.c.
- Change 'chek' to 'check' in rtc-fm3130.c.
- Change 'whic' to 'which' in rtc-rs5c372.c.
Signed-off-by: Nick Huang <sef1548@gmail.com>
---
drivers/rtc/rtc-fm3130.c | 2 +-
drivers/rtc/rtc-rs5c372.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c
index f82728eba..53271f638 100644
--- a/drivers/rtc/rtc-fm3130.c
+++ b/drivers/rtc/rtc-fm3130.c
@@ -465,7 +465,7 @@ static int fm3130_probe(struct i2c_client *client)
bad_alarm:
- /* clock registers sanity chek */
+ /* clock registers sanity check */
tmp = bcd2bin(fm3130->regs[FM3130_RTC_SECONDS] & 0x7f);
if (tmp > 59)
goto bad_clock;
diff --git a/drivers/rtc/rtc-rs5c372.c b/drivers/rtc/rtc-rs5c372.c
index f8fab0205..92bea6e98 100644
--- a/drivers/rtc/rtc-rs5c372.c
+++ b/drivers/rtc/rtc-rs5c372.c
@@ -639,7 +639,7 @@ static int rs5c372_set_offset(struct device *dev, long offset)
if (!steps || !(val & 0x3E)) {
/*
* if offset is too small, set oscillation adjustment register
- * or time trimming register with its default value whic means
+ * or time trimming register with its default value which means
* no increment or decrement. But for rs5c372[a|b], the XSL bit
* should be kept unchanged.
*/
--
2.43.0
reply other threads:[~2026-01-21 15:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260121154215.2360-1-sef1548@gmail.com \
--to=sef1548@gmail.com \
--cc=alexandre.belloni@bootlin.com \
--cc=kusogame68@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=n1136402@ntub.edu.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox