mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] platform: x86: fix typos in comments
@ 2026-09-04 11:36 Hemanth Selam
  2026-09-05  3:06 ` Mark Pearson
  0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-04 11:36 UTC (permalink / raw)
  To: Henrique de Moraes Holschuh, Mark Pearson, Derek J. Clark,
	Hans de Goede, Ilpo Järvinen
  Cc: linux-kernel, platform-driver-x86, ibm-acpi-devel

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/x86/lenovo/thinkpad_acpi.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c b/drivers/platform/x86/lenovo/thinkpad_acpi.c
index 1661f070c571..bfb292e727c4 100644
--- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
+++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
@@ -7069,7 +7069,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;
@@ -7262,7 +7262,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.
 	 */
@@ -7981,7 +7981,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).
  *
-- 
2.48.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] platform: x86: fix typos in comments
  2026-09-04 11:36 [PATCH] platform: x86: fix typos in comments Hemanth Selam
@ 2026-09-05  3:06 ` Mark Pearson
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Pearson @ 2026-09-05  3:06 UTC (permalink / raw)
  To: Hemanth Selam, Henrique de Moraes Holschuh, Derek J . Clark,
	Hans de Goede, Ilpo Järvinen
  Cc: linux-kernel, platform-driver-x86, ibm-acpi-devel

On Fri, Sep 4, 2026, at 7:36 AM, Hemanth Selam wrote:
> 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/x86/lenovo/thinkpad_acpi.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/platform/x86/lenovo/thinkpad_acpi.c 
> b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> index 1661f070c571..bfb292e727c4 100644
> --- a/drivers/platform/x86/lenovo/thinkpad_acpi.c
> +++ b/drivers/platform/x86/lenovo/thinkpad_acpi.c
> @@ -7069,7 +7069,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;
> @@ -7262,7 +7262,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.
>  	 */
> @@ -7981,7 +7981,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).
>   *
> -- 
> 2.48.1
All good.
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Mark

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-05  3:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-04 11:36 [PATCH] platform: x86: fix typos in comments Hemanth Selam
2026-09-05  3:06 ` Mark Pearson

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®