From patchwork Tue Jan 12 09:02:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 101188 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2611863lbb; Tue, 12 Jan 2016 01:02:45 -0800 (PST) X-Received: by 10.98.72.130 with SMTP id q2mr32618528pfi.154.1452589365324; Tue, 12 Jan 2016 01:02:45 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v62si34838325pfi.95.2016.01.12.01.02.44; Tue, 12 Jan 2016 01:02:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761842AbcALJCm (ORCPT + 29 others); Tue, 12 Jan 2016 04:02:42 -0500 Received: from mout.kundenserver.de ([212.227.126.131]:53727 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934496AbcALJCf (ORCPT ); Tue, 12 Jan 2016 04:02:35 -0500 Received: from wuerfel.localnet ([134.3.118.24]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0LjiED-1Zm3zY1S0X-00bq2D; Tue, 12 Jan 2016 10:02:05 +0100 From: Arnd Bergmann To: Lee Jones Cc: Linus Walleij , Paul Parsons , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] mfd: asic3: remove extraneous ')' Date: Tue, 12 Jan 2016 10:02:04 +0100 Message-ID: <5507931.oM3h7nKshR@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/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ux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org A cleanup patch introduced an extra closing ')' that leads to a build error: drivers/mfd/asic3.c: In function 'asic3_gpio_get': drivers/mfd/asic3.c:505:12: error: expected ';' before ')' token This removes the extra character to get it to build again. Signed-off-by: Arnd Bergmann Fixes: fd5b4d01a638 ("mfd: asic3: Be sure to clamp return value") --- This came up today on linux-next. I took the liberty to adjust formatting of that line as well, if you prefer the original line wrapping please undo that part when applying. Reviewed-by: Linus Walleij diff --git a/drivers/mfd/asic3.c b/drivers/mfd/asic3.c index c8d46e51faf1..4dca6bc61f5b 100644 --- a/drivers/mfd/asic3.c +++ b/drivers/mfd/asic3.c @@ -501,8 +501,8 @@ static int asic3_gpio_get(struct gpio_chip *chip, return -EINVAL; } - return !!(asic3_read_register(asic, gpio_base + ASIC3_GPIO_STATUS) - & mask)); + return !!(asic3_read_register(asic, + gpio_base + ASIC3_GPIO_STATUS) & mask); } static void asic3_gpio_set(struct gpio_chip *chip,