diff mbox

[1/1] mfd: stmpe: Remove unnecessary semicolon

Message ID 1391505571-14895-1-git-send-email-sachin.kamat@linaro.org
State Accepted
Headers show

Commit Message

Sachin Kamat Feb. 4, 2014, 9:19 a.m. UTC
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(-)

Comments

Lee Jones Feb. 4, 2014, 1:42 p.m. UTC | #1
> 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.
diff mbox

Patch

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;
 }