[PATCH v3] pinctrl: remove empty lines in pinctrl subsystem

2020-12-20 Thread Zhaoyu Liu
Remove all empty lines at the end of functions in pinctrl subsystem, and make the code neat. Reviewed-by: Bjorn Andersson Reviewed-by: Geert Uytterhoeven Reviewed-by: Linus Walleij Reviewed-by: Andy Shevchenko Signed-off-by: Zhaoyu Liu --- Changelog: v3: - Rebuild the patch based on "

[PATCH v2] pinctrl: remove empty lines in pinctrl subsystem

2020-12-10 Thread Zhaoyu Liu
Remove all empty lines at the end of functions in pinctrl subsystem, make the code neat. Target files: grep -nwR -B1 ^} drivers/pinctrl/* | grep '[0-9]-$' | less Reviewed-by: Linus Walleij Reviewed-by: Andy Shevchenko Signed-off-by: Zhaoyu Liu --- Changelog: v2: - Fixed the same problem in all

[PATCH] pinctrl: remove the blank line in pinctrl_register()

2020-12-07 Thread Zhaoyu Liu
Remove the blank line in pinctrl_register() to keep the code neat. Signed-off-by: Zhaoyu Liu --- drivers/pinctrl/core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/pinctrl/core.c b/drivers/pinctrl/core.c index 3663d87f51a0..1f944685047b 100644 --- a/drivers/pinctrl/core.c +++ b

[PATCH] hidraw: use the tab replace spaces in hidraw_init()

2020-12-07 Thread Zhaoyu Liu
Use the tab replace spaces in hidraw_init() to ensure that the code tidy. Signed-off-by: Zhaoyu Liu --- drivers/hid/hidraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 2eee5e31c2b7..249666ea9a5a 100644 --- a/drivers/hid

[PATCH] hidraw: Remove the redundent spaces

2020-10-30 Thread Zhaoyu Liu
Remove spaces to align code. Signed-off-by: Zhaoyu Liu --- drivers/hid/hidraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/hid/hidraw.c b/drivers/hid/hidraw.c index 2eee5e31c2b7..249666ea9a5a 100644 --- a/drivers/hid/hidraw.c +++ b/drivers/hid/hidraw.c @@ -600,7