diff options
author | 2024-09-19 14:49:39 +0800 | |
---|---|---|
committer | 2024-11-10 14:48:06 -0800 | |
commit | ff140456b5fbf03cbd04277c21d4fcdc5974e97b (patch) | |
tree | a3aad710eedaae7da1eb035a28094bd981bcbadb | |
parent | hwmon: (ina2xx) Add support for INA260 (diff) | |
download | wireguard-linux-ff140456b5fbf03cbd04277c21d4fcdc5974e97b.tar.xz wireguard-linux-ff140456b5fbf03cbd04277c21d4fcdc5974e97b.zip |
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>
-rw-r--r-- | drivers/hwmon/pmbus/mpq8785.c | 2 |
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; |