* [PATCH] platform/x86: thinkpad_acpi: fix typos in comments
@ 2026-09-26 16:25 Zain Aboobacker
0 siblings, 0 replies; only message in thread
From: Zain Aboobacker @ 2026-09-26 16:25 UTC (permalink / raw)
To: Mark Pearson, Derek J. Clark, Henrique de Moraes Holschuh,
Hans de Goede, Ilpo Järvinen
Cc: ibm-acpi-devel, platform-driver-x86, linux-kernel
Fix various spelling mistakes in comments found by codespell.
Assisted-by: Claude:claude-opus-5-5 codespell
Signed-off-by: Zain Aboobacker <zainaboobacker33@gmail.com>
---
drivers/platform/x86/lenovo/thinkpad_acpi.c | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c b/drivers/platform/x86/lenovo/thinkpad_acpi.c
index 1225b01ed14d..ee831e6b8fbe 100644
--- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
+++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
@@ -2108,7 +2108,7 @@ static int hotkey_mask_set(u32 mask)
}
/*
- * We *must* make an inconditional call to hotkey_mask_get to
+ * We *must* make an unconditional call to hotkey_mask_get to
* refresh hotkey_acpi_mask and update hotkey_user_mask
*
* Take the opportunity to also log when we cannot _enable_
@@ -3770,7 +3770,7 @@ static bool hotkey_notify_dockevent(const u32 hkey, bool *send_acpi_ev)
return true;
/*
- * Deliberately ignore attaching and detaching the keybord cover to avoid
+ * Deliberately ignore attaching and detaching the keyboard cover to avoid
* duplicates from intel-vbtn, which already emits SW_TABLET_MODE events
* to userspace.
*
@@ -4047,7 +4047,7 @@ static void hotkey_resume(void)
hotkey_wakeup_hotunplug_complete_notify_change();
hotkey_poll_setup_safe(false);
- /* restore previous mode of adapive keyboard of X1 Carbon */
+ /* restore previous mode of adaptive keyboard of X1 Carbon */
if (tp_features.has_adaptive_kbd) {
if (!acpi_evalf(hkey_handle, NULL, "STRW", "vd",
adaptive_keyboard_prev_mode)) {
@@ -7131,7 +7131,7 @@ static bool software_mute_active;
static int software_mute_orig_mode;
/*
- * Used to syncronize writers to TP_EC_AUDIO and
+ * Used to synchronize writers to TP_EC_AUDIO and
* TP_NVRAM_ADDR_MIXER, as we need to do read-modify-write
*/
static struct mutex volume_mutex;
@@ -7324,7 +7324,7 @@ static int volume_set_software_mute(bool startup)
/*
* In software mute mode, the standard codec controls take
- * precendence, so we unmute the ThinkPad HW switch at
+ * precedence, so we unmute the ThinkPad HW switch at
* startup. Just on case there are SAUM-capable ThinkPads
* with level controls, set max HW volume as well.
*/
@@ -8043,7 +8043,7 @@ TPACPI_HANDLE(fanw, ec, "FANW", /* E531 */
); /* all others */
/*
- * Unitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
+ * Uninitialized HFSP quirk: ACPI DSDT and EC fail to initialize the
* HFSP register at boot, so it contains 0x07 but the Thinkpad could
* be in auto mode (0x80).
*
@@ -10623,7 +10623,7 @@ static int dytc_profile_set(struct device *dev,
* To get back to balanced mode we need to issue a reset command.
* Note we still need to disable CQL mode before hand and re-enable
* it afterwards, otherwise dytc_lapmode gets reset to 0 and stays
- * stuck at 0 for aprox. 30 minutes.
+ * stuck at 0 for approx. 30 minutes.
*/
err = dytc_cql_command(DYTC_CMD_RESET, &output);
if (err)
@@ -11685,7 +11685,7 @@ static bool tpacpi_driver_event(const unsigned int hkey_event)
static struct proc_dir_entry *proc_dir;
/*
- * Module and infrastructure proble, init and exit handling
+ * Module and infrastructure probe, init and exit handling
*/
static bool force_load;
--
2.53.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-26 16:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-26 16:25 [PATCH] platform/x86: thinkpad_acpi: fix typos in comments Zain Aboobacker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®