Skip to contentSkip to conversation

hwmon: (pmbus/mpq8785) Convert comma to semicolon

PATCH Applied Shen Lichuan 2 participants 2 messages Sep 19, 2024 Hardware monitoring

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 hwmon: (pmbus/mpq8785) Convert comma to semicolon

To ensure code clarity and prevent potential errors, use ';' instead of ',' as a statement separator in the function mpq8785_identify.

---
v2:
* Changed subject prefix to "hwmon: (pmbus/mpq8785)".
* Modified the commit message to describe change more clearly.
v1: https://lore.kernel.org/all/[email protected]/

 drivers/hwmon/pmbus/mpq8785.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/pmbus/mpq8785.c +1 -1
index 7f87e117b49d..0d16491cd770 100644
@@ -22,7 +22,7 @@ static int mpq8785_identify(struct i2c_client *client,
 		break;
 	case 1:
 	case 2:
-		info->format[PSC_VOLTAGE_OUT] = direct,
+		info->format[PSC_VOLTAGE_OUT] = direct;
 		info->m[PSC_VOLTAGE_OUT] = 64;
 		info->b[PSC_VOLTAGE_OUT] = 0;
 		info->R[PSC_VOLTAGE_OUT] = 1;
Signature · 1 line
2.17.1
maintainer Applied
#1 lore raw
Quoted 5 lines · Shen Lichuan

To ensure code clarity and prevent potential errors, use ';' instead of ',' as a statement separator in the function mpq8785_identify.

---

Applied.

Thanks,
Guenter