From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753374AbdCFNm3 (ORCPT ); Mon, 6 Mar 2017 08:42:29 -0500 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:26680 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752789AbdCFNlx (ORCPT ); Mon, 6 Mar 2017 08:41:53 -0500 X-IronPort-AV: E=Sophos;i="5.35,253,1484002800"; d="scan'208";a="215734474" Date: Mon, 6 Mar 2017 14:38:29 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Beomho Seo cc: kbuild-all@01.org, dri-devel@lists.freedesktop.org, Inki Dae , Andi Shyti , Chanwoo Choi , Dmitry Torokhov , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] LOCAL / input: touchscreen: fix semicolon.cocci warnings Message-ID: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Beomho Seo Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- I also received the following warning from kbuild, without any other information: drivers/input/touchscreen/fts_ts.c:750:1-6: WARNING: invalid free of devm_ allocated data tree: https://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git exynos-drm-next-tm2 head: 41f00580dc0f947b7788a1b5f57f793dea49ee9a commit: 15a1244b5349543dfc629b1eda799f0008dbd8bd [7/38] LOCAL / input: touchscreen: Add FTS_TS touchsreen driver fts_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/input/touchscreen/fts_ts.c +++ b/drivers/input/touchscreen/fts_ts.c @@ -558,12 +558,12 @@ static struct fts_i2c_platform_data *fts if (of_property_read_u32(np, "x-size", &pdata->max_x)) { dev_err(dev, "failed to get x-size property\n"); return NULL; - }; + } if (of_property_read_u32(np, "y-size", &pdata->max_y)) { dev_err(dev, "failed to get y-size property\n"); return NULL; - }; + } pdata->keys_en = of_property_read_bool(np, "touch-key-connected");