Skip to content

Commit ee49067

Browse files
JuliaLawallgregkh
authored andcommitted
regmap: debugfs: use semicolons rather than commas to separate statements
Replace commas with semicolons. What is done is essentially described by the following Coccinelle semantic patch (http://coccinelle.lip6.fr/): // <smpl> @@ expression e1,e2; @@ e1 -, +; e2 ... when any // </smpl> Signed-off-by: Julia Lawall <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 44577f1 commit ee49067

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/regmap/regmap-debugfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ static inline void regmap_calc_tot_len(struct regmap *map,
184184
{
185185
/* Calculate the length of a fixed format */
186186
if (!map->debugfs_tot_len) {
187-
map->debugfs_reg_len = regmap_calc_reg_len(map->max_register),
187+
map->debugfs_reg_len = regmap_calc_reg_len(map->max_register);
188188
map->debugfs_val_len = 2 * map->format.val_bytes;
189189
map->debugfs_tot_len = map->debugfs_reg_len +
190190
map->debugfs_val_len + 3; /* : \n */

0 commit comments

Comments
 (0)