From: Zain Aboobacker <zainaboobacker33@gmail.com>
To: Wensheng Wang <wenswang@yeah.net>, Guenter Roeck <linux@roeck-us.net>
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] hwmon: (pmbus/mp2985) fix typos in comments
Date: Sat, 26 Sep 2026 12:25:39 -0400 [thread overview]
Message-ID: <20260926162539.25432-1-zainaboobacker33@gmail.com> (raw)
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/hwmon/pmbus/mp2985.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/drivers/hwmon/pmbus/mp2985.c b/drivers/hwmon/pmbus/mp2985.c
index b0a4796ca8ce..89b437cc54c0 100644
--- a/drivers/hwmon/pmbus/mp2985.c
+++ b/drivers/hwmon/pmbus/mp2985.c
@@ -12,7 +12,7 @@
#include "pmbus.h"
/*
- * Vender specific register READ_PIN_EST(0x93), READ_IIN_EST(0x8E),
+ * Vendor specific register READ_PIN_EST(0x93), READ_IIN_EST(0x8E),
* MFR_VR_MULTI_CONFIG_R1(0x0D) and MFR_VR_MULTI_CONFIG_R2(0x1D).
* The READ_PIN_EST is used to read pin telemetry, the READ_IIN_EST
* is used to read iin telemetry and the MFR_VR_MULTI_CONFIG_R1,
@@ -62,9 +62,9 @@ static u16 mp2985_linear_exp_transfer(u16 word, u16 expect_exponent)
target_exponent = (s16)((expect_exponent & 0x1f) << 11) >> 11;
/*
- * The MP2985 does not support negtive limit value, if a negtive
+ * The MP2985 does not support negative limit value, if a negative
* limit value is written, the limit value will become to 0. And
- * the maximum positive limit value is limitted to 0x3FF.
+ * the maximum positive limit value is limited to 0x3FF.
*/
if (mantissa < 0) {
mantissa = 0;
@@ -133,7 +133,7 @@ static int mp2985_read_word_data(struct i2c_client *client, int page, int phase,
/*
* The MP2985 has standard PMBUS_READ_IIN register(0x89), but this is
* not used to read the input current of per rail. The input current
- * is read through the vender redefined register READ_IIN_EST(0x8E).
+ * is read through the vendor redefined register READ_IIN_EST(0x8E).
*/
ret = pmbus_read_word_data(client, page, phase, READ_IIN_EST);
break;
@@ -141,7 +141,7 @@ static int mp2985_read_word_data(struct i2c_client *client, int page, int phase,
/*
* The MP2985 has standard PMBUS_READ_PIN register(0x97), but this
* is not used to read the input power of per rail. The input power
- * of per rail is read through the vender redefined register
+ * of per rail is read through the vendor redefined register
* READ_PIN_EST(0x93).
*/
ret = pmbus_read_word_data(client, page, phase, READ_PIN_EST);
--
2.53.0
reply other threads:[~2026-09-26 16:25 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=20260926162539.25432-1-zainaboobacker33@gmail.com \
--to=zainaboobacker33@gmail.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
--cc=wenswang@yeah.net \
/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
all inboxes | Powered by JetHome®