diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2025-11-07 16:51:09 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-11-07 09:37:50 +0000 |
| commit | 2089f086303b773e181567fd8d5df3038bd85937 (patch) | |
| tree | 211e4bd4f74b9ad2005a917afe82ee604a855747 | |
| parent | b6f4bd64f453183954184ffbc2b89d73ed8fb135 (diff) | |
regulator: mt6363: Remove unneeded semicolon
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Link: https://patch.msgid.link/20251107085109.2316999-1-nichen@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
| -rw-r--r-- | drivers/regulator/mt6363-regulator.c | 2 |
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; |
