mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] mfd: stmpe: Remove unnecessary semicolon
@ 2014-02-04  9:19 Sachin Kamat
  2014-02-04 13:42 ` Lee Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Sachin Kamat @ 2014-02-04  9:19 UTC (permalink / raw)
  To: linux-kernel; +Cc: lee.jones, sachin.kamat

Semicolon is not necessary after the while statement.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
 drivers/mfd/stmpe.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
index 42ccd0544513..7145a89364fb 100644
--- a/drivers/mfd/stmpe.c
+++ b/drivers/mfd/stmpe.c
@@ -706,7 +706,8 @@ static int stmpe1801_reset(struct stmpe *stmpe)
 		if (!(ret & STMPE1801_MSK_SYS_CTRL_RESET))
 			return 0;
 		usleep_range(100, 200);
-	};
+	}
+
 	return -EIO;
 }
 
-- 
1.7.9.5


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

* Re: [PATCH 1/1] mfd: stmpe: Remove unnecessary semicolon
  2014-02-04  9:19 [PATCH 1/1] mfd: stmpe: Remove unnecessary semicolon Sachin Kamat
@ 2014-02-04 13:42 ` Lee Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Lee Jones @ 2014-02-04 13:42 UTC (permalink / raw)
  To: Sachin Kamat; +Cc: linux-kernel

> Semicolon is not necessary after the while statement.
> 
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
>  drivers/mfd/stmpe.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/mfd/stmpe.c b/drivers/mfd/stmpe.c
> index 42ccd0544513..7145a89364fb 100644
> --- a/drivers/mfd/stmpe.c
> +++ b/drivers/mfd/stmpe.c
> @@ -706,7 +706,8 @@ static int stmpe1801_reset(struct stmpe *stmpe)
>  		if (!(ret & STMPE1801_MSK_SYS_CTRL_RESET))
>  			return 0;
>  		usleep_range(100, 200);
> -	};
> +	}
> +
>  	return -EIO;
>  }

Applied, thanks.

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

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

end of thread, other threads:[~2014-02-04 13:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-04  9:19 [PATCH 1/1] mfd: stmpe: Remove unnecessary semicolon Sachin Kamat
2014-02-04 13:42 ` Lee Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®