2022-04-29 14:49:43

by Yang Li

[permalink] [raw]
Subject: [PATCH -next] Input: hideep: clean up some inconsistent indenting

Turn the space into a tab to Eliminate the follow smatch warning:
drivers/input/touchscreen/hideep.c:470 hideep_program_nvm() warn:
inconsistent indenting

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/input/touchscreen/hideep.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/touchscreen/hideep.c b/drivers/input/touchscreen/hideep.c
index e9547ee29756..01d9b42f3670 100644
--- a/drivers/input/touchscreen/hideep.c
+++ b/drivers/input/touchscreen/hideep.c
@@ -467,9 +467,9 @@ static int hideep_program_nvm(struct hideep_ts *ts,
u32 addr = 0;
int error;

- error = hideep_nvm_unlock(ts);
- if (error)
- return error;
+ error = hideep_nvm_unlock(ts);
+ if (error)
+ return error;

while (ucode_len > 0) {
xfer_len = min_t(size_t, ucode_len, HIDEEP_NVM_PAGE_SIZE);
--
2.20.1.7.g153144c


2023-03-17 10:57:34

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: [PATCH -next] Input: hideep: clean up some inconsistent indenting

On Fri, Apr 29, 2022 at 03:01:03PM +0800, Yang Li wrote:
> Turn the space into a tab to Eliminate the follow smatch warning:
> drivers/input/touchscreen/hideep.c:470 hideep_program_nvm() warn:
> inconsistent indenting
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>

Applied, thank you.

--
Dmitry