[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240918033512.9351-1-shenlichuan@vivo.com>
Date: Wed, 18 Sep 2024 11:35:12 +0800
From: Shen Lichuan <shenlichuan@...o.com>
To: jdelvare@...e.com,
linux@...ck-us.net
Cc: ythsu0511@...il.com,
u.kleine-koenig@...gutronix.de,
linux-hwmon@...r.kernel.org,
linux-kernel@...r.kernel.org,
opensource.kernel@...o.com,
Shen Lichuan <shenlichuan@...o.com>
Subject: [PATCH v1] hwmon: Convert comma to semicolon
To ensure code clarity and prevent potential errors, it's advisable
to employ the ';' as a statement separator, except when ',' are
intentionally used for specific purposes.
Signed-off-by: Shen Lichuan <shenlichuan@...o.com>
---
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 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;
--
2.17.1
Powered by blists - more mailing lists