Skip to content

Commit

Permalink
Input: snvs_pwrkey - remove duplicated semicolon
Browse files Browse the repository at this point in the history
Remove the unneded semicolon since it is clearly a typo error.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
  • Loading branch information
Javier Martinez Canillas authored and Dmitry Torokhov committed Oct 27, 2015
1 parent 34fc132 commit 9ace41a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/input/keyboard/snvs_pwrkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +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");
return -ENODEV;
Expand Down

0 comments on commit 9ace41a

Please sign in to comment.