summaryrefslogtreecommitdiff
path: root/drivers/hwmon/pmbus/mpq8785.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/pmbus/mpq8785.c')
-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;