aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-09-14 10:38:39 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-09-19 11:39:03 -0700
commit86a39bffc4e94f80527c14fe00a3acb432910ef3 (patch)
treea847f5af218a09641f70aad16bf73e7116bfcd6a /drivers
parentInput: pm8941-pwrkey - remove unneded semicolon (diff)
downloadlinux-dev-86a39bffc4e94f80527c14fe00a3acb432910ef3.tar.xz
linux-dev-86a39bffc4e94f80527c14fe00a3acb432910ef3.zip
Input: mms114 - remove unneded semicolons
They aren't needed and are just creating null statements so remove it. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/input/touchscreen/mms114.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/mms114.c b/drivers/input/touchscreen/mms114.c
index 7cce87650fc8..1fafc9f57af6 100644
--- a/drivers/input/touchscreen/mms114.c
+++ b/drivers/input/touchscreen/mms114.c
@@ -394,12 +394,12 @@ static struct mms114_platform_data *mms114_parse_dt(struct device *dev)
if (of_property_read_u32(np, "x-size", &pdata->x_size)) {
dev_err(dev, "failed to get x-size property\n");
return NULL;
- };
+ }
if (of_property_read_u32(np, "y-size", &pdata->y_size)) {
dev_err(dev, "failed to get y-size property\n");
return NULL;
- };
+ }
of_property_read_u32(np, "contact-threshold",
&pdata->contact_threshold);