diff mbox

Input: snvs_pwrkey - remove duplicated semicolon

Message ID 1441935339-8257-1-git-send-email-javier@osg.samsung.com (mailing list archive)
State New, archived
Headers show

Commit Message

Javier Martinez Canillas Sept. 11, 2015, 1:35 a.m. UTC
Remove the unneded semicolon since it is clearly a typo error.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>

---

 drivers/input/keyboard/snvs_pwrkey.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Javier Martinez Canillas Oct. 9, 2015, 1:59 p.m. UTC | #1
Hello Dmitry,

On 09/11/2015 03:35 AM, Javier Martinez Canillas wrote:
> Remove the unneded semicolon since it is clearly a typo error.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 
> ---
> 
>  drivers/input/keyboard/snvs_pwrkey.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/keyboard/snvs_pwrkey.c b/drivers/input/keyboard/snvs_pwrkey.c
> index 78fd24ca3813..a4db65d67e1b 100644
> --- a/drivers/input/keyboard/snvs_pwrkey.c
> +++ b/drivers/input/keyboard/snvs_pwrkey.c
> @@ -110,7 +110,7 @@ static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
>  	if (!pdata)
>  		return -ENOMEM;
>  
> -	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");;
> +	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");
>  
>  	if (!pdata->snvs) {
>  		dev_err(&pdev->dev, "Can't get snvs syscon\n");
> 

Any comments about this patch?

Best regards,
Dmitry Torokhov Oct. 26, 2015, 8:46 a.m. UTC | #2
On Fri, Sep 11, 2015 at 03:35:39AM +0200, Javier Martinez Canillas wrote:
> Remove the unneded semicolon since it is clearly a typo error.
> 
> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
> 

Applied, thank you.

> ---
> 
>  drivers/input/keyboard/snvs_pwrkey.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/keyboard/snvs_pwrkey.c b/drivers/input/keyboard/snvs_pwrkey.c
> index 78fd24ca3813..a4db65d67e1b 100644
> --- a/drivers/input/keyboard/snvs_pwrkey.c
> +++ b/drivers/input/keyboard/snvs_pwrkey.c
> @@ -110,7 +110,7 @@ static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
>  	if (!pdata)
>  		return -ENOMEM;
>  
> -	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");;
> +	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");
>  
>  	if (!pdata->snvs) {
>  		dev_err(&pdev->dev, "Can't get snvs syscon\n");
> -- 
> 2.4.3
>
diff mbox

Patch

diff --git a/drivers/input/keyboard/snvs_pwrkey.c b/drivers/input/keyboard/snvs_pwrkey.c
index 78fd24ca3813..a4db65d67e1b 100644
--- a/drivers/input/keyboard/snvs_pwrkey.c
+++ b/drivers/input/keyboard/snvs_pwrkey.c
@@ -110,7 +110,7 @@  static int imx_snvs_pwrkey_probe(struct platform_device *pdev)
 	if (!pdata)
 		return -ENOMEM;
 
-	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");;
+	pdata->snvs = syscon_regmap_lookup_by_phandle(np, "regmap");
 
 	if (!pdata->snvs) {
 		dev_err(&pdev->dev, "Can't get snvs syscon\n");