Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp1769994ybp; Wed, 9 Oct 2019 20:14:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqztBWzSoi6gtjX1P2czqjn0zu4tsAthOyhyLtBtaW9gZwN49oHT8libskt0klXG4FeMADGp X-Received: by 2002:a05:6402:13d5:: with SMTP id a21mr6178556edx.242.1570677276981; Wed, 09 Oct 2019 20:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570677276; cv=none; d=google.com; s=arc-20160816; b=O9DAOzee+MZpNU1ADYPfBE4uKO//ZsWo2BZvl19zwPeYbzY6nlO/rxtbR3XYnZoSQe nN1hnOEg6BF24xyx9RJWyg9i6CkNuyJNbx1wwr5GVR0wQAnAT3GgehrfV8t2gXZNRjNo dvAS0SY0qqwGzDIPLDZWdE4PeRPqG0k7i6q0m++eMMtfQ3PRb6asU0Qenq8Hqi70vsNl FANwSC4bbZuavNoDTOmvRarZSFhrur8PRxIWMPye8YUkwh7g8/gp+ex80zvIoMGdVLat +xcAgkzzjSebsqAhdJnq3b72pa5BOHEbRcw9EwHUfgnVspdY1en0yNbl+NMfRmEayDNs jHvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ZQcFgWUIrTcWj7FyEedzTRJF4iB85mO1ITqvOndRRj8=; b=a5swE9z7V2OmKjLZBjzXm4Ed0nGQN1n+y86UXEaSjCQWSgOG9IqJGQEARzyVVWE7o6 NyBPnD3ULrME2POE1EwUchtvgAvVDQw/JeDq/snoFdkl9e5ETJngIPfN2Yz2b7k1Na8i HMKeTQwM5vgoeHGJiITDKr5O4XexybSKCSq5Iv3ow+NfOFhLUqzvwv5WGqjhdW3JRZco fL/RUMw5d1n6AImdO0coTbmQA8qVEU9elo2Hc6WTls6J9+i7ZwKoYPW07cUWCHfkro2J Rwtv+wcEfuV8W9658kGF4oVyCMPpgB4MaeLr1dMatKt/h4vqc6K81Q7y2ID0jd91gBNt iqrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZpMmeBjM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g32si2742138eda.330.2019.10.09.20.14.13; Wed, 09 Oct 2019 20:14:36 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZpMmeBjM; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732758AbfJJDNU (ORCPT + 99 others); Wed, 9 Oct 2019 23:13:20 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:36917 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726621AbfJJDNU (ORCPT ); Wed, 9 Oct 2019 23:13:20 -0400 Received: by mail-pf1-f195.google.com with SMTP id y5so2948464pfo.4 for ; Wed, 09 Oct 2019 20:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=ZQcFgWUIrTcWj7FyEedzTRJF4iB85mO1ITqvOndRRj8=; b=ZpMmeBjM7WLUJLHtImTbPCHC6yufQ4tGvkyHc35VqQpOM9u/hUsfG3SRdnXx9D5Sz6 3EpL3CW1Kcn/hUkWVnpPlXgFij00bHxnvOOKR6JuUqjN/A/dhMdLTWY1a6JAMtofNuaU QWr0wqeyFwifaHbb6fGw485T+AY5jYI09qdERMvvSSZqpetr47+Lm0rr3wwLrmytIAWD 6OOwe3Zyv37gI6hFmaAbtWDme5BBS5axWUpb1qVcKzmeu9HOMDX7Sy8AN4b+rlxJmhbT abVQODQTIfQ285K0G+UXNvC0KHGu1mDlrqWtp+tBXPGhlfCGw+Jzil/KUuyVXaNL25QT gKcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZQcFgWUIrTcWj7FyEedzTRJF4iB85mO1ITqvOndRRj8=; b=pwrQeYfOqyAZBNo/1YaDfc/foZy+jv4PM59VM5iXGYpo7k9GGjLN04ioaofaVNUCNP bV/Fulki6vCZc71JSDFdcZXg3SCleL/yAvQ5gpSj5crFoUnHGKAYG4NK7lbrZ6jciAcX 0K8kVb5zvNwCO5W86TBwn0Vu+O7kdyaXNXV7vlX/Xk4iYEjLEfULOYOspQquxl26LXzo 7NrOXLorAOAotinYT8rbsilprm+3LGpxu1PX2e+b8CR+DZrc4zkdP6IUkNkpyeJbXeGD e5veyp2pVxXehIcvX7Hk8sQXISliqsY91n+I76vusLc1a0pxENwVeAVYHmmBfNlPfXNe iLfA== X-Gm-Message-State: APjAAAVWvilO3B7A0Mdc+0voqNq68e3VfCigzbQSGBS9aUTTayH77wTJ 1IALv2jHB0RPMQuJjUCmy6w= X-Received: by 2002:a63:231e:: with SMTP id j30mr8348953pgj.419.1570677199234; Wed, 09 Oct 2019 20:13:19 -0700 (PDT) Received: from panther.hsd1.or.comcast.net ([45.52.215.209]) by smtp.gmail.com with ESMTPSA id r23sm3712164pgk.46.2019.10.09.20.13.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 09 Oct 2019 20:13:18 -0700 (PDT) From: Chandra Annamaneni To: gregkh@linuxfoundation.org Cc: gneukum1@gmail.com, chandra627@gmail.com, dan.carpenter@oracle.com, fabian.krueger@fau.de, simon@nikanor.nu, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] KPC2000: kpc2000_spi.c: Fix style issues (Unecessary parenthesis) Date: Wed, 9 Oct 2019 20:13:10 -0700 Message-Id: <1570677190-4301-1-git-send-email-chandra627@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Resolved: CHECK: Unnecessary parentheses around table[i] Signed-off-by: Chandra Annamaneni --- drivers/staging/kpc2000/kpc2000_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 2082d86..e702ada 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -478,7 +478,7 @@ kp_spi_probe(struct platform_device *pldev) /* register the slave boards */ #define NEW_SPI_DEVICE_FROM_BOARD_INFO_TABLE(table) \ for (i = 0 ; i < ARRAY_SIZE(table) ; i++) { \ - spi_new_device(master, &(table[i])); \ + spi_new_device(master, &table[i]); \ } switch ((drvdata->card_id & 0xFFFF0000) >> 16) { -- 2.7.4