hwmon: fix typos in comments
Subsystems (4)
PATCH 1/1 hwmon: 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 <[email protected]>
--- drivers/hwmon/abituguru.c | 4 ++-- drivers/hwmon/adm1177.c | 2 +- drivers/hwmon/adt7x10.c | 2 +- drivers/hwmon/emc2103.c | 2 +- drivers/hwmon/lm85.c | 2 +- drivers/hwmon/pmbus/mp2888.c | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-)
drivers/hwmon/abituguru.c +2 -2
@@ -475,7 +475,7 @@ abituguru_detect_bank1_sensor_type(struct abituguru_data *data,u8 val, test_flag, buf[3 ];int i, ret = -ENODEV ;/* error is the most common used retval :| */ -/* If overriden by the user return the user selected type */ +/* If overridden by the user return the user selected type */ if (bank1_types[sensor_addr] >=ABIT_UGURU_IN_SENSOR && bank1_types[sensor_addr] <=ABIT_UGURU_NC ) { ABIT_UGURU_DEBUG(2, "assuming sensor type %d for bank1 sensor "
@@ -1262,7 +1262,7 @@ static int abituguru_probe(struct platform_device *pdev)/* * El weirdo probe order, to keep the sysfs order identical to the -* BIOS and window-appliction listing order. +* BIOS and window-application listing order. */ static const u8 probe_order[ABIT_UGURU_MAX_BANK1_SENSORS ] = {0x00 ,0x01 ,0x03 ,0x04 ,0x0A ,0x08 ,0x0E ,0x02 ,
drivers/hwmon/adm1177.c +1 -1
@@ -105,7 +105,7 @@ static int adm1177_read(struct device *dev, enum hwmon_sensor_types type,return ret; dummy = (data[0 ] <<4 ) | (data[2 ] >>4 );/* -* convert to millivolts based on resistor devision +* convert to millivolts based on resistor division * (V_fullscale / 4096) * raw */ if (st->vrange_high)
drivers/hwmon/adt7x10.c +1 -1
@@ -338,7 +338,7 @@ int adt7x10_probe(struct device *dev, const char *name, int irq, data->oldconfig = config;/* -* Set to 16 bit resolution, continous conversion and comparator mode. +* Set to 16 bit resolution, continuous conversion and comparator mode. */ data->config = data->oldconfig; data->config &= ~(ADT7X10_MODE_MASK | ADT7X10_CT_POLARITY |
drivers/hwmon/emc2103.c +1 -1
@@ -32,7 +32,7 @@ static const u8 REG_TEMP_MAX[4] = { 0x34, 0x30, 0x31, 0x32 };#define REG_PRODUCT_ID 0xfd#define REG_MFG_ID 0xfe -/* equation 4 from datasheet: rpm = (3932160 * multipler) / count */ +/* equation 4 from datasheet: rpm = (3932160 * multiplier) / count */ #define FAN_RPM_FACTOR 3932160/*
drivers/hwmon/lm85.c +1 -1
@@ -1445,7 +1445,7 @@ static void lm85_init_client(struct i2c_client *client)static int lm85_is_fake (struct i2c_client *client) {/* -* Differenciate between real LM96000 and Winbond WPCD377I. The latter +* Differentiate between real LM96000 and Winbond WPCD377I. The latter * emulate the former except that it has no hardware monitoring function * so the readings are always 0. */
drivers/hwmon/pmbus/mp2888.c +2 -2
@@ -272,14 +272,14 @@ static int mp2888_write_word_data(struct i2c_client *client, int page, int reg, word =clamp_val (word,0 ,GENMASK (7 ,0 ));break ;case PMBUS_IOUT_OC_WARN_LIMIT : -/* Fix limit according to total curent resolution. */ +/* Fix limit according to total current resolution. */ word = data->total_curr_resolution ?DIV_ROUND_CLOSEST (word,8 ) :DIV_ROUND_CLOSEST (word,4 );/* Drop unused bits 15:10. */ word =clamp_val (word,0 ,GENMASK (9 ,0 ));break ;case PMBUS_POUT_OP_WARN_LIMIT : -/* Fix limit according to total curent resolution. */ +/* Fix limit according to total current resolution. */ word = data->total_curr_resolution ?DIV_ROUND_CLOSEST (word,4 ) :DIV_ROUND_CLOSEST (word,2 );/* Drop unused bits 15:10. */
Signature · 1 line
2.48.1
[email protected]
AI reviewSashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
Quoted 6 lines · Hemanth Selam
Fix typos in comments, reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Applied.
Thanks,
Guenter