Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751336AbeAPPiN (ORCPT + 1 other); Tue, 16 Jan 2018 10:38:13 -0500 Received: from smtp-fw-33001.amazon.com ([207.171.190.10]:53073 "EHLO smtp-fw-33001.amazon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751107AbeAPPiK (ORCPT ); Tue, 16 Jan 2018 10:38:10 -0500 X-IronPort-AV: E=Sophos;i="5.46,368,1511827200"; d="scan'208";a="715792940" From: Luis de Bethencourt To: linux-kernel@vger.kernel.org Cc: Joe Perches , Shawn Guo , Sascha Hauer , Fabio Estevam , linux-arm-kernel@lists.infradead.org, Luis de Bethencourt Subject: [PATCH] soc: imx: gpc: Fix trailing semicolon Date: Tue, 16 Jan 2018 15:38:02 +0000 Message-Id: <20180116153802.20838-1-luisbg@kernel.org> X-Mailer: git-send-email 2.15.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: The trailing semicolon is an empty statement that does no operation. It is completely stripped out by the compiler. Removing it since it doesn't do anything. Signed-off-by: Luis de Bethencourt --- Hi, After fixing the same thing in drivers/staging/rtl8723bs/, Joe Perches suggested I fix it treewide [0]. Best regards Luis [0] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115410.html [1] http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/2018-January/115390.html drivers/soc/imx/gpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/imx/gpc.c b/drivers/soc/imx/gpc.c index 53f7275d6cbd..cfb42f5eccb2 100644 --- a/drivers/soc/imx/gpc.c +++ b/drivers/soc/imx/gpc.c @@ -348,7 +348,7 @@ static int imx_gpc_old_dt_init(struct device *dev, struct regmap *regmap, if (i == 1) { domain->supply = devm_regulator_get(dev, "pu"); if (IS_ERR(domain->supply)) - return PTR_ERR(domain->supply);; + return PTR_ERR(domain->supply); ret = imx_pgc_get_clocks(dev, domain); if (ret) -- 2.15.1