public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Thomas Weber <thomas.x.weber@gmail.com>
To: Linus Walleij <linusw@kernel.org>
Cc: Thomas Weber <thomas.weber@corscience.com>,
	linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] pinctrl: realtek: Fix typo
Date: Tue,  5 May 2026 14:24:43 +0200	[thread overview]
Message-ID: <20260505122444.59265-1-thomas.weber@corscience.com> (raw)

STRENGH -> STRENGTH

Signed-off-by: Thomas Weber <thomas.weber@corscience.com>
---
 drivers/pinctrl/realtek/pinctrl-rtd.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/pinctrl/realtek/pinctrl-rtd.c b/drivers/pinctrl/realtek/pinctrl-rtd.c
index a2c672508a4b..60222339726b 100644
--- a/drivers/pinctrl/realtek/pinctrl-rtd.c
+++ b/drivers/pinctrl/realtek/pinctrl-rtd.c
@@ -34,14 +34,14 @@ struct rtd_pinctrl {
 };
 
 /* custom pinconf parameters */
-#define RTD_DRIVE_STRENGH_P (PIN_CONFIG_END + 1)
-#define RTD_DRIVE_STRENGH_N (PIN_CONFIG_END + 2)
+#define RTD_DRIVE_STRENGTH_P (PIN_CONFIG_END + 1)
+#define RTD_DRIVE_STRENGTH_N (PIN_CONFIG_END + 2)
 #define RTD_DUTY_CYCLE (PIN_CONFIG_END + 3)
 #define RTD_HIGH_VIL (PIN_CONFIG_END + 4)
 
 static const struct pinconf_generic_params rtd_custom_bindings[] = {
-	{"realtek,drive-strength-p", RTD_DRIVE_STRENGH_P, 0},
-	{"realtek,drive-strength-n", RTD_DRIVE_STRENGH_N, 0},
+	{"realtek,drive-strength-p", RTD_DRIVE_STRENGTH_P, 0},
+	{"realtek,drive-strength-n", RTD_DRIVE_STRENGTH_N, 0},
 	{"realtek,duty-cycle", RTD_DUTY_CYCLE, 0},
 	{"realtek,high-vil-microvolt", RTD_HIGH_VIL, 0},
 };
@@ -473,7 +473,7 @@ static int rtd_pconf_parse_conf(struct rtd_pinctrl *data,
 		val = 1;
 		break;
 
-	case RTD_DRIVE_STRENGH_P:
+	case RTD_DRIVE_STRENGTH_P:
 		sconfig_desc = rtd_pinctrl_find_sconfig(data, pinnr);
 		if (!sconfig_desc) {
 			dev_err(data->dev, "P driving unsupported for pin: %s\n", name);
@@ -490,7 +490,7 @@ static int rtd_pconf_parse_conf(struct rtd_pinctrl *data,
 		val = set_val << p_off;
 		break;
 
-	case RTD_DRIVE_STRENGH_N:
+	case RTD_DRIVE_STRENGTH_N:
 		sconfig_desc = rtd_pinctrl_find_sconfig(data, pinnr);
 		if (!sconfig_desc) {
 			dev_err(data->dev, "N driving unsupported for pin: %s\n", name);
-- 
2.34.1


                 reply	other threads:[~2026-05-05 12:24 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=20260505122444.59265-1-thomas.weber@corscience.com \
    --to=thomas.x.weber@gmail.com \
    --cc=linusw@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=thomas.weber@corscience.com \
    /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