Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4181888ybg; Tue, 29 Oct 2019 03:26:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzSd+44NwMJOhqe3F1bKhNARqunPsRSW6uTv8mrvgxxqOesHdh9MJyAwR/HeienXLpgPmzD X-Received: by 2002:a50:b536:: with SMTP id y51mr24851480edd.271.1572344765368; Tue, 29 Oct 2019 03:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572344765; cv=none; d=google.com; s=arc-20160816; b=0Jc6mEJ+b1qg79GE+kWeLdK7Tah9l9WrOGAK/UJTBFxMyon9jsBVGLZ6mVp3MXFE9S 4bKJ1Up/2DklAlquhQdDInN2Nz8KtIudNTjcPMu0zBnIqjFN3jkA1EFHWablYzE2/OXI sBt2hahYM6dx/qxWxyQIqJVzZnP8kkPX4aK7IQe0XlhentO1LuAhVKF330Ol2JQgOVXj eAunDWMEO4YgRx4qYaEQxwNlVPYAghboDYIORgbAKqWFYvwzSjJxkbxdcOLuzDNYCSnd SzXlqOP/+NxmrGM3dBipvc3wXXt6HbdZ2cO/FGBZGox0hEhIV96I3KK0i/D9cpYzu11g lZbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=EVOYj/Re7UhdcN0oIEXqQ3IhVWkoZflbo7uyXKIkqvQ=; b=edmeMIOvdO5TXUPhbQK6S23medgUq5jEGDlFO3X5kcibbAaYTmDiYuYDT+bs19MFdg PXmgPFTnWlVY44L/ChKykvFJD54PlVdHskl3e/R7QODtc4RJkcTsf7Vc7x37hfVEzXtq ptkQjZkXLNiPMH1uAJu/zX9OdOKytS+Q3ynzW8Ir8hv1tIj3Otas4kkL/BiARpUwQGWd 5saxy+P70xCj7EDTSqBnFVmjP9NPlfW+c5EJBQuDZL0IBUoHpGu2l28EyOpH7ApIMjXm rSZOpjzDXSl9qMaSjKshEmsN5uTFmuTE6I8yS0qkQRDtjde+iU/EBcP+TtkflRLv0tuy PAhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fO4EjFM1; 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 y38si9455244edb.87.2019.10.29.03.25.41; Tue, 29 Oct 2019 03:26:05 -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=fO4EjFM1; 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 S1731748AbfJ2JQ4 (ORCPT + 99 others); Tue, 29 Oct 2019 05:16:56 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:44417 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731694AbfJ2JQz (ORCPT ); Tue, 29 Oct 2019 05:16:55 -0400 Received: by mail-pl1-f193.google.com with SMTP id q16so7020661pll.11 for ; Tue, 29 Oct 2019 02:16:54 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=EVOYj/Re7UhdcN0oIEXqQ3IhVWkoZflbo7uyXKIkqvQ=; b=fO4EjFM1AoUHkqXxHaPt6GE4ycwJOtiU7rZwOVKyXJrTeFmg+TV84SCb3OWsULw5eu Kf46IN/uTbzmt3FXmdtQE6otTQvsaA7gnFHi7rw/2rszrpN1k7JUcj239soY0ZFZHR2m JIZrsS95wBQHSXkEPmYETOc6Gb4qN40rL53+PDm28u+/JW837RTV2NXcGju6yl5ViwwT HPtaHg+C0WUH5WUtyZFnxMRL3V8xw7B0GtNlNdoZL3MvIjPQ0CX6pYosbTTXZks4IsIw Oa7z0Mu0tLnS0MJmPniPcr9iP/ATWrckuYMFW9xL+3MxcmFsuUJj324ZwqRnoU8bWvse +iYg== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=EVOYj/Re7UhdcN0oIEXqQ3IhVWkoZflbo7uyXKIkqvQ=; b=m3mEGiXX90fAxzfo72h9HmpzF7opkmWW4ugqrrhujq5Om9P8JooRkjHgMnZgINOHLu 8zYQumtvoH0C19n+lv3KW6k1pVGLI0+uSs3IWN30eES+pQGq6Ut8KtThl8cdOFTIcJgW cUA+G1Js2n8/CY3EPYSTC8S3AAHyc+6HctDxbg3dyldkKwZ+enNI2cMt/RG5z2yHrIh7 k62tgVliTYm5u2gVJznYoYJT901ifK2rhVaFnKK6XiL46fD/CuNLm55aasqMPact5cqz 9YTXmW3Zqubl7rqYKwKI0LiI01+ADMRw8XJqa+tEFvLTXPv7+A1Pxr+4L4jEh4jWnIwb pLcQ== X-Gm-Message-State: APjAAAWBw0Luj7/Rtqx7F7NhX8OQeHCS5TG5wzElGvpTGml/NMueKVtf U7yfSoKgl8NOKkNX0f3vrvU= X-Received: by 2002:a17:902:a58c:: with SMTP id az12mr2900622plb.140.1572340614402; Tue, 29 Oct 2019 02:16:54 -0700 (PDT) Received: from localhost.localdomain ([45.52.215.209]) by smtp.gmail.com with ESMTPSA id g18sm9910556pfh.51.2019.10.29.02.16.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Oct 2019 02:16:53 -0700 (PDT) From: Chandra Annamaneni To: gregkh@linuxfoundation.org Cc: gneukum1@gmail.com, dan.carpenter@oracle.com, michael.scheiderer@fau.de, fabian.krueger@fau.de, chandra627@gmail.com, simon@nikanor.nu, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 4/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis) Date: Tue, 29 Oct 2019 02:16:38 -0700 Message-Id: <20191029091638.16101-4-chandra627@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191029091638.16101-1-chandra627@gmail.com> References: <20191029091638.16101-1-chandra627@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- Previous versions of these patches were not split into different patches, did not have different patch numbers and did not have the keyword staging. 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 24de8d63f504..8becf972af9c 100644 --- a/drivers/staging/kpc2000/kpc2000_spi.c +++ b/drivers/staging/kpc2000/kpc2000_spi.c @@ -476,7 +476,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.20.1