Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1224101

[PATCH 2/2] Input: mms114 - remove unneded semicolons

From Javier Martinez Canillas <javier@osg.samsung.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] Input: mms114 - remove unneded semicolons
Date 2015-09-14 14:50 +0200
Message-ID <q8BmN-6tb-1@gated-at.bofh.it> (permalink)
References <q8BmN-6tb-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


They aren't needed and are just creating null statements so remove it.

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

---

 drivers/input/touchscreen/mms114.c | 4 ++--
 1 file 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);
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] Input: pm8941-pwrkey - remove unneded semicolon Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-14 14:50 +0200
  [PATCH 2/2] Input: mms114 - remove unneded semicolons Javier Martinez Canillas <javier@osg.samsung.com> - 2015-09-14 14:50 +0200
    Re: [PATCH 2/2] Input: mms114 - remove unneded semicolons Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2015-09-15 02:20 +0200

csiph-web