Skip to contentSkip to conversation

pinctrl: remove the blank line in pinctrl_register()

PATCH In review Zhaoyu Liu 3 participants 3 messages Dec 7, 2020 – Dec 9, 2020

Subsystems (2)
lore
Share & tools
lore

Zhaoyu Liu

author
#0 lore raw

PATCH 1/1 pinctrl: remove the blank line in pinctrl_register()

Remove the blank line in pinctrl_register() to keep the code neat.

---
 drivers/pinctrl/core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/core.c +0 -1
index 3663d87f51a0..1f944685047b 100644
@@ -2115,7 +2115,6 @@ struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc,
 		return ERR_PTR(error);
 
 	return pctldev;
-
 }
 EXPORT_SYMBOL_GPL(pinctrl_register);
 
Signature · 1 line
2.29.2
#1 lore raw
Quoted 2 lines · Zhaoyu Liu

Remove the blank line in pinctrl_register() to keep the code neat.

Probably you want to apply the same for other drivers at once?

% git grep -n -B1 -w ^} -- drivers/pinctrl/ | grep -C1 '[0-9]-$' | less

Signature · 2 lines
With Best Regards,
Andy Shevchenko
#2 lore raw
Quoted 7 lines · Andy Shevchenko
Quoted 2 lines · Zhaoyu Liu

Remove the blank line in pinctrl_register() to keep the code neat.

Probably you want to apply the same for other drivers at once?

% git grep -n -B1 -w ^} -- drivers/pinctrl/ | grep -C1 '[0-9]-$' | less

I agree with Andy, a patch should be "one technical step" so just sweep the entire subsystem if you wanna do this cosmetic.

Yours,
Linus Walleij