summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2024-07-16 16:46:59 +0800
committerMark Brown <broonie@kernel.org>2024-07-29 01:19:05 +0100
commit3078425f63c5f526c8d2cb0b7ef9e0a3f50c9c39 (patch)
tree9288992fc7d9a28f6aaa63a16fd92e9c37d0981c /drivers
parent291f854ecadeb275e5e586001963950341d85e7a (diff)
regulator: rt5120: Convert comma to semicolon
Replace a comma between expression statements by a semicolon. Fixes: c0216c0e68f7 ("regulator: rt5120: Add PMIC regulator support") Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Reviewed-by: ChiYuan Huang <cy_huang@richtek.com> Link: https://patch.msgid.link/20240716084659.1252690-1-nichen@iscas.ac.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/regulator/rt5120-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/rt5120-regulator.c b/drivers/regulator/rt5120-regulator.c
index a388ac70865f..f0d3efd160d4 100644
--- a/drivers/regulator/rt5120-regulator.c
+++ b/drivers/regulator/rt5120-regulator.c
@@ -245,8 +245,8 @@ static void rt5120_fillin_regulator_desc(struct regulator_desc *desc, int rid)
desc->n_voltages = RT5120_BUCK1_NUM_VOLT;
desc->min_uV = RT5120_BUCK1_MINUV;
desc->uV_step = RT5120_BUCK1_STEPUV;
- desc->vsel_reg = RT5120_REG_CH1VID,
- desc->vsel_mask = RT5120_CH1VID_MASK,
+ desc->vsel_reg = RT5120_REG_CH1VID;
+ desc->vsel_mask = RT5120_CH1VID_MASK;
desc->ops = &rt5120_buck1_ops;
break;
case RT5120_REGULATOR_BUCK2 ... RT5120_REGULATOR_BUCK4: