From patchwork Sun May 22 14:20:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Clifton Barnes X-Patchwork-Id: 9130959 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 4759060761 for ; Sun, 22 May 2016 14:20:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 12F1E281B4 for ; Sun, 22 May 2016 14:20:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 05407281B9; Sun, 22 May 2016 14:20:38 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ABE30281B4 for ; Sun, 22 May 2016 14:20:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752297AbcEVOUg (ORCPT ); Sun, 22 May 2016 10:20:36 -0400 Received: from mail-ig0-f196.google.com ([209.85.213.196]:34636 "EHLO mail-ig0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751936AbcEVOUf (ORCPT ); Sun, 22 May 2016 10:20:35 -0400 Received: by mail-ig0-f196.google.com with SMTP id lp2so821787igb.1; Sun, 22 May 2016 07:20:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=HtxzLdNSD4oJplVNn2AfWG4VDfoC3xj6WQDd3zkC/l0=; b=SznbEfy8JDKp1fDxiPI8eAVvbeKFxjk7klnlBgkkOmg9L5VIT8Jwsdqi1cT5U9pyBE EIaVZq1Dkaxn9f8UaiBAqySMUbxD9BZetWnjfMOTRVYd0/Oi6xdMxQHZzMfH/LbljhcZ K5+RF67q+xL/2yzXXNkppd0YN+/EA749RGSLBSnS3L0v7Kh5Ra5TovRY2gEt0/gV54QM RdWK+ygpsXvr+axhFaSPpq8MEv234X8YzRIOT6730mcTu2E8HiHa/GX95AE3BVLNbO5M 25yKYwCiJuQ1QgsO9EIJVDqZ6iKMn4Bt6xD4YDe5jELBe1sMs3/Ym/qAg3X6Ldqx/u2F yikA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=HtxzLdNSD4oJplVNn2AfWG4VDfoC3xj6WQDd3zkC/l0=; b=IQlGwLsFH+eMkou3n5JvT6R4Pp/4ruWb6B70sleTW09cdDGl0JT1DUTcWVKUIxFa/X FFdTWDozvSQYfw2VBVCRY4k1jJY578qAmffOKW6pkG7ytP4pBiWFFcWYk7qRPVKgkZ7w hd+8m2RCO3FJKj0GZGlZY9vLy11e8WTuvqLaKSxUzxC58atPpICxiOr7sUirlctDl49k JBfoPMb3e2QeaTxuGa+T2J1K8ItwU2X0go48oIgDhnnrj7OQdbmDQDUNeZN1zfRgMUEH 14R7RPE9CytDEWjpvraXK3LvZQOrAAAh6sFGwo2Y5oAZgJa2XsT0/A9scsOVWfrhTz7u bZPg== X-Gm-Message-State: AOPr4FVB8xv4VX+wc6wGxiIpdpRUDE9kTPLw4njC93DU00Zir7ZyeE7UpEVDRKuPlENP1g== X-Received: by 10.50.131.201 with SMTP id oo9mr9689847igb.15.1463926833004; Sun, 22 May 2016 07:20:33 -0700 (PDT) Received: from localhost.localdomain (c-73-168-181-206.hsd1.in.comcast.net. [73.168.181.206]) by smtp.gmail.com with ESMTPSA id u66sm2387383itc.21.2016.05.22.07.20.31 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 22 May 2016 07:20:32 -0700 (PDT) From: Clifton Barnes To: dmitry.torokhov@gmail.com Cc: Clifton Barnes , Linus Walleij , Himangi Saraogi , linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] Input: tc3589x-keypad - remove stray ')' Date: Sun, 22 May 2016 10:20:10 -0400 Message-Id: <1463926811-2921-1-git-send-email-clifton.a.barnes@gmail.com> X-Mailer: git-send-email 1.9.1 Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The end ')' needs to be removed if the macro is ever used or there would be a compiler error as it does not have a matching '('. Signed-off-by: Clifton Barnes Reviewed-by: Linus Walleij --- drivers/input/keyboard/tc3589x-keypad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/keyboard/tc3589x-keypad.c b/drivers/input/keyboard/tc3589x-keypad.c index e92dfd8..ec0070e 100644 --- a/drivers/input/keyboard/tc3589x-keypad.c +++ b/drivers/input/keyboard/tc3589x-keypad.c @@ -32,7 +32,7 @@ #define TC3589x_PULL_DOWN_MASK 0x1 #define TC3589x_PULL_UP_MASK 0x2 #define TC3589x_PULLUP_ALL_MASK 0xAA -#define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2)) +#define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2) /* Bit masks for IOCFG register */ #define IOCFG_BALLCFG 0x01