Skip to content

Commit e8c5d75

Browse files
elfringLinus Walleij
authored andcommitted
pinctrl: Add spaces for better code readability
The script "checkpatch.pl" pointed information out like the following. CHECK: spaces preferred around that '+' (ctx:VxV) Thus fix the affected source code places. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent e4d0305 commit e8c5d75

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎drivers/pinctrl/pinconf.c‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -394,9 +394,9 @@ static const struct file_operations pinconf_groups_ops = {
394394

395395
struct dbg_cfg {
396396
enum pinctrl_map_type map_type;
397-
char dev_name[MAX_NAME_LEN+1];
398-
char state_name[MAX_NAME_LEN+1];
399-
char pin_name[MAX_NAME_LEN+1];
397+
char dev_name[MAX_NAME_LEN + 1];
398+
char state_name[MAX_NAME_LEN + 1];
399+
char pin_name[MAX_NAME_LEN + 1];
400400
};
401401

402402
/*
@@ -482,7 +482,7 @@ static ssize_t pinconf_dbg_config_write(struct file *file,
482482
const struct pinconf_ops *confops = NULL;
483483
struct dbg_cfg *dbg = &pinconf_dbg_conf;
484484
const struct pinctrl_map_configs *configs;
485-
char config[MAX_NAME_LEN+1];
485+
char config[MAX_NAME_LEN + 1];
486486
char buf[128];
487487
char *b = &buf[0];
488488
int buf_size;

0 commit comments

Comments
 (0)