summaryrefslogtreecommitdiff
path: root/drivers/platform
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-04 16:38:57 +0530
committerTzung-Bi Shih <tzungbi@kernel.org>2026-09-07 04:03:04 +0000
commit2d23d5e9cb468baf6e4fa78d0dd7e8555759385d (patch)
tree4d9efb74b13c6fe39aa808983426f872a48507a6 /drivers/platform
parent7b6344a49cf5fed1879ee5c125d01a2535fbd725 (diff)
platform/chrome: Fix typos in comments
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> Link: https://lore.kernel.org/r/20260904110900.20435-2-hemanth.selam@gmail.com Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/chrome/cros_ec_ishtp.c2
-rw-r--r--drivers/platform/chrome/cros_usbpd_notify.c4
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.