summaryrefslogtreecommitdiff
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-19 09:49:39 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-11-11 01:48:06 +0300
commitff140456b5fbf03cbd04277c21d4fcdc5974e97b (patch)
treea3aad710eedaae7da1eb035a28094bd981bcbadb /drivers/hwmon
parent70fb84a109c639637f0636281dbdb21ed8ffb000 (diff)
downloadlinux-ff140456b5fbf03cbd04277c21d4fcdc5974e97b.tar.xz
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. Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Message-ID: <20240919064939.3282-1-shenlichuan@vivo.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/pmbus/mpq8785.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/mpq8785.c b/drivers/hwmon/pmbus/mpq8785.c
index 7f87e117b49d..0d16491cd770 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;