]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
hwmon: (pmbus/mpq8785) Convert comma to semicolon
authorShen Lichuan <shenlichuan@vivo.com>
Thu, 19 Sep 2024 06:49:39 +0000 (14:49 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 10 Nov 2024 22:48:06 +0000 (14:48 -0800)
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>
drivers/hwmon/pmbus/mpq8785.c

index 7f87e117b49debd239de08e37af0fec422ca650a..0d16491cd7706fe1732aa311ebb5df769056b014 100644 (file)
@@ -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;