Skip to content

Commit 7762fda

Browse files
Chen Nibroonie
authored andcommitted
regulator: adp5055: 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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 28cce24 commit 7762fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/adp5055-regulator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ static int adp5055_parse_fw(struct device *dev, struct adp5055 *adp5055)
165165
ret = regmap_write(regmap, ADP5055_DVS_LIM0 + i, val);
166166
if (ret)
167167
return ret;
168-
};
168+
}
169169

170170
val = FIELD_PREP(ADP5055_MASK_EN_MODE, adp5055->en_mode_software);
171171
ret = regmap_write(regmap, ADP5055_CTRL_MODE1, val);

0 commit comments

Comments
 (0)