* [PATCH 1/2] platform/chrome: fix typos in comments
[not found] <20260904110900.20435-1-hemanth.selam@gmail.com>
@ 2026-09-04 11:08 ` Hemanth Selam
2026-09-07 4:10 ` Tzung-Bi Shih
2026-09-04 11:08 ` [PATCH 2/2] platform/chrome: fix repeated word 'from' in comment Hemanth Selam
1 sibling, 1 reply; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:08 UTC (permalink / raw)
To: Benson Leung, Tzung-Bi Shih, Guenter Roeck, Łukasz Bartosik,
Andrei Kuchynski, Jameson Thies
Cc: linux-kernel, chrome-platform
Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
drivers/platform/chrome/cros_ec_ishtp.c | 2 +-
drivers/platform/chrome/cros_usbpd_notify.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/platform/chrome/cros_ec_ishtp.c b/drivers/platform/chrome/cros_ec_ishtp.c
index 3766cef81fe8..b21a27ad3762 100644
--- a/drivers/platform/chrome/cros_ec_ishtp.c
+++ b/drivers/platform/chrome/cros_ec_ishtp.c
@@ -369,7 +369,7 @@ static void ish_event_cb(struct ishtp_cl_device *cl_device)
* @cros_ish_cl: ISHTP client instance
* @reset: true if called from reset handler
*
- * This function complete the initializtion of the client.
+ * This function complete the initialization of the client.
*
* Return: 0 for success, negative error code for failure.
*/
diff --git a/drivers/platform/chrome/cros_usbpd_notify.c b/drivers/platform/chrome/cros_usbpd_notify.c
index d842c05f4db0..6f5eea4938cb 100644
--- a/drivers/platform/chrome/cros_usbpd_notify.c
+++ b/drivers/platform/chrome/cros_usbpd_notify.c
@@ -64,7 +64,7 @@ static void cros_usbpd_get_event_and_notify(struct device *dev,
/*
* We still send a 0 event out to older devices which don't
- * have the updated device heirarchy.
+ * have the updated device hierarchy.
*/
if (!ec_dev) {
dev_dbg(dev,
@@ -115,7 +115,7 @@ static int cros_usbpd_notify_probe_acpi(struct platform_device *pdev)
if (!ec_dev) {
/*
* We continue even for older devices which don't have the
- * correct device heirarchy, namely, GOOG0003 is a child
+ * correct device hierarchy, namely, GOOG0003 is a child
* of GOOG0004. If GOOG0003 is a child of GOOG0004 and we
* can't get a pointer to the Chrome EC device, defer the
* probe function.
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/2] platform/chrome: fix repeated word 'from' in comment
[not found] <20260904110900.20435-1-hemanth.selam@gmail.com>
2026-09-04 11:08 ` [PATCH 1/2] platform/chrome: fix typos in comments Hemanth Selam
@ 2026-09-04 11:08 ` Hemanth Selam
2026-09-07 4:10 ` Tzung-Bi Shih
1 sibling, 1 reply; 4+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:08 UTC (permalink / raw)
To: Benson Leung, Tzung-Bi Shih, Guenter Roeck; +Cc: linux-kernel, chrome-platform
Drop the second 'from', reported by checkpatch.pl as a possible repeated
word. Only touches a comment, no code changes.
Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
drivers/platform/chrome/cros_ec_rpmsg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/platform/chrome/cros_ec_rpmsg.c b/drivers/platform/chrome/cros_ec_rpmsg.c
index 09bd9e49464e..7390c2c91ea5 100644
--- a/drivers/platform/chrome/cros_ec_rpmsg.c
+++ b/drivers/platform/chrome/cros_ec_rpmsg.c
@@ -20,7 +20,7 @@
#define HOST_EVENT_MARK 2
/**
- * struct cros_ec_rpmsg_response - rpmsg message format from from EC.
+ * struct cros_ec_rpmsg_response - rpmsg message format from EC.
*
* @type: The type of message, should be either HOST_COMMAND_MARK or
* HOST_EVENT_MARK, representing that the message is a response to
--
2.48.1
^ permalink raw reply related [flat|nested] 4+ messages in thread