linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] input: drv2667: fix indentation issues, remove extra tabs
@ 2018-12-21 23:12 Colin King
  2018-12-22  1:01 ` Dmitry Torokhov
  0 siblings, 1 reply; 2+ messages in thread
From: Colin King @ 2018-12-21 23:12 UTC (permalink / raw)
  To: Dmitry Torokhov, linux-input; +Cc: kernel-janitors, linux-kernel

From: Colin Ian King <colin.king@canonical.com>

There are some statements that are indented incorrectly, fix this by
removinf the extra tabs.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/input/misc/drv2667.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
index 2849bb6906a8..6091f0490e8f 100644
--- a/drivers/input/misc/drv2667.c
+++ b/drivers/input/misc/drv2667.c
@@ -177,9 +177,9 @@ static int drv2667_set_waveform_freq(struct drv2667_data *haptics)
 		error = regmap_write(haptics->regmap, DRV2667_PAGE, read_buf);
 		if (error) {
 			dev_err(&haptics->client->dev,
-					"Failed to set the page: %d\n", error);
-				return -EIO;
-			}
+				"Failed to set the page: %d\n", error);
+			return -EIO;
+		}
 	}
 
 	return error;
-- 
2.19.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] input: drv2667: fix indentation issues, remove extra tabs
  2018-12-21 23:12 [PATCH] input: drv2667: fix indentation issues, remove extra tabs Colin King
@ 2018-12-22  1:01 ` Dmitry Torokhov
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry Torokhov @ 2018-12-22  1:01 UTC (permalink / raw)
  To: Colin King; +Cc: linux-input, kernel-janitors, linux-kernel

On Fri, Dec 21, 2018 at 11:12:41PM +0000, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> There are some statements that are indented incorrectly, fix this by
> removinf the extra tabs.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thank you.

> ---
>  drivers/input/misc/drv2667.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/input/misc/drv2667.c b/drivers/input/misc/drv2667.c
> index 2849bb6906a8..6091f0490e8f 100644
> --- a/drivers/input/misc/drv2667.c
> +++ b/drivers/input/misc/drv2667.c
> @@ -177,9 +177,9 @@ static int drv2667_set_waveform_freq(struct drv2667_data *haptics)
>  		error = regmap_write(haptics->regmap, DRV2667_PAGE, read_buf);
>  		if (error) {
>  			dev_err(&haptics->client->dev,
> -					"Failed to set the page: %d\n", error);
> -				return -EIO;
> -			}
> +				"Failed to set the page: %d\n", error);
> +			return -EIO;
> +		}
>  	}
>  
>  	return error;
> -- 
> 2.19.1
> 

-- 
Dmitry

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-22  1:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-21 23:12 [PATCH] input: drv2667: fix indentation issues, remove extra tabs Colin King
2018-12-22  1:01 ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).