[PATCH linux dev-6.6 2/2] hwmon: (pmbus/mpq8785) Convert comma to semicolon
Fred Chen
fredchen.openbmc at gmail.com
Wed Aug 6 22:12:32 AEST 2025
From: Shen Lichuan <shenlichuan at vivo.com>
To ensure code clarity and prevent potential errors, use ';' instead of
',' as a statement separator in the function mpq8785_identify.
Signed-off-by: Shen Lichuan <shenlichuan at vivo.com>
Message-ID: <20240919064939.3282-1-shenlichuan at vivo.com>
Signed-off-by: Guenter Roeck <linux at roeck-us.net>
(cherry picked from commit ff140456b5fbf03cbd04277c21d4fcdc5974e97b)
---
drivers/hwmon/pmbus/mpq8785.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hwmon/pmbus/mpq8785.c b/drivers/hwmon/pmbus/mpq8785.c
index 4e2549cc8120..3b1d978508f8 100644
--- a/drivers/hwmon/pmbus/mpq8785.c
+++ b/drivers/hwmon/pmbus/mpq8785.c
@@ -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;
--
2.49.0
More information about the openbmc
mailing list