diff mbox series

input: drv2667: fix indentation issues, remove extra tabs

Message ID 20181221231241.15925-1-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show
Series input: drv2667: fix indentation issues, remove extra tabs | expand

Commit Message

Colin King Dec. 21, 2018, 11:12 p.m. UTC
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(-)

Comments

Dmitry Torokhov Dec. 22, 2018, 1:01 a.m. UTC | #1
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
>
diff mbox series

Patch

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;