From patchwork Mon Mar 6 13:38:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 9606051 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 510046046A for ; Mon, 6 Mar 2017 13:38:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 36CFE2838E for ; Mon, 6 Mar 2017 13:38:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2A09228418; Mon, 6 Mar 2017 13:38:48 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 89D1B2838E for ; Mon, 6 Mar 2017 13:38:47 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 2F3D88935A; Mon, 6 Mar 2017 13:38:46 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6978D8935A for ; Mon, 6 Mar 2017 13:38:44 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.35,253,1484002800"; d="scan'208";a="215734474" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Mar 2017 14:38:41 +0100 Date: Mon, 6 Mar 2017 14:38:29 +0100 (CET) From: Julia Lawall X-X-Sender: jll@hadrien To: Beomho Seo 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 Cc: dri-devel@lists.freedesktop.org, Dmitry Torokhov , linux-kernel@vger.kernel.org, Andi Shyti , Chanwoo Choi , kbuild-all@01.org, linux-input@vger.kernel.org X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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");