summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/mt6363-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/mt6363-regulator.c b/drivers/regulator/mt6363-regulator.c
index 94ac955afa45..e0fbf92e7685 100644
--- a/drivers/regulator/mt6363-regulator.c
+++ b/drivers/regulator/mt6363-regulator.c
@@ -363,7 +363,7 @@ static unsigned int mt6363_regulator_get_mode(struct regulator_dev *rdev)
return REGULATOR_MODE_FAST;
} else {
val = 0;
- };
+ }
ret = regmap_read(rdev->regmap, info->hw_lp_mode_reg, &val);
val &= info->hw_lp_mode_mask;