diff mbox series

pinctrl: remove the blank line in pinctrl_register()

Message ID X85UKveYKc3xLPVk@manjaro
State New
Headers show
Series pinctrl: remove the blank line in pinctrl_register() | expand

Commit Message

Zhaoyu Liu Dec. 7, 2020, 4:11 p.m. UTC
Remove the blank line in pinctrl_register() to keep the code neat.

Signed-off-by: Zhaoyu Liu <zackary.liu.pro@gmail.com>
---
 drivers/pinctrl/core.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Linus Walleij Dec. 9, 2020, 9:26 a.m. UTC | #1
On Mon, Dec 7, 2020 at 7:20 PM Andy Shevchenko
<andy.shevchenko@gmail.com> wrote:
> On Mon, Dec 7, 2020 at 6:13 PM Zhaoyu Liu <zackary.liu.pro@gmail.com> wrote:

> >

> > 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
diff mbox series

Patch

diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c
index 3663d87f51a0..1f944685047b 100644
--- a/drivers/pinctrl/core.c
+++ b/drivers/pinctrl/core.c
@@ -2115,7 +2115,6 @@  struct pinctrl_dev *pinctrl_register(struct pinctrl_desc *pctldesc,
 		return ERR_PTR(error);
 
 	return pctldev;
-
 }
 EXPORT_SYMBOL_GPL(pinctrl_register);