A comma has been accidentally used where a semi-colon was clearly
intended, correct this typo.

Signed-off-by: Charles Keepax <[email protected]>
---
 drivers/regulator/as3722-regulator.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/regulator/as3722-regulator.c 
b/drivers/regulator/as3722-regulator.c
index 66337e12719b4..e5fed289b52d3 100644
--- a/drivers/regulator/as3722-regulator.c
+++ b/drivers/regulator/as3722-regulator.c
@@ -886,7 +886,7 @@ static int as3722_regulator_probe(struct platform_device 
*pdev)
                                as3722_regs->desc[id].min_uV = 410000;
                        } else {
                                as3722_regs->desc[id].n_voltages =
-                                       AS3722_SD0_VSEL_MAX + 1,
+                                       AS3722_SD0_VSEL_MAX + 1;
                                as3722_regs->desc[id].min_uV = 610000;
                        }
                        as3722_regs->desc[id].uV_step = 10000;
-- 
2.11.0

Reply via email to