Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp7218537ybp; Wed, 16 Oct 2019 05:40:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqypVF0mMjDLPfDIEqrABosjJvsqkj+hV9j1YyGnBilsAh4WhFwlXI/eAdHt1abILLrWDxgs X-Received: by 2002:a17:906:3913:: with SMTP id f19mr39951262eje.161.1571229600805; Wed, 16 Oct 2019 05:40:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571229600; cv=none; d=google.com; s=arc-20160816; b=vbLwxsBPJDT3R+s7Fwlnp/umuUryHTMmJN2JdHnSqLy28EZOUGcGnb5CS+jjENN6Hf X0Ts2f2OoOyCgB8S7Mg3jriga9M8w9WtxuQvYpsEns5gCpgGsef27etQzgsH0CIHZJQY 80nj4XG5ycDJ6owibs9Daye+ezdTtHEXdqnMkbtbci7UVxGeMlqt+OBl2qmhBo7G3T2g qapIap2rvx1Y5TNps29RyJ6wutDROhplfTfmy1vBPcB5yQkl1kMNGYAMBjRZS5Bbgdvy O5xey4OoNgFeVZzwst+2r09zVKiivn2fxTdpedECauPdF4K1NFqZY3qcsyxqbZtnoRC1 NevQ== 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=Aaa6eOBQQxXyi4X/un/WawEEvOUbHr+5sesjIuf4DaDvKUxdMsifmrHy31dbWjKgKL Yku1h3SkaVfmpdUbSLBHGTjLfFx27+meawxVrq3h5IrcQB/dQQIbjKdb5iXhAtAPKE2O 0LAQjofdcpVZYFf/OYQmEjlqKmnTpR/ANanxcrkL5DoKwqTGkrGVvxzqQMG8r2zX7Y5e PRxeXStqfMuFo7TPFtrfNqbAX1hRoHxqW62KzydspYPqcuddXlTkkHpb0YcglnIw7IFP uYeKpLpeR4C/CbuoIsBUGPhaI7/9qtGvqoVDLgbeu3HNFoFIj6H3svRVqJgWowrtfSEF EmGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kzag0KZS; 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 k6si15506543eji.137.2019.10.16.05.39.38; Wed, 16 Oct 2019 05:40:00 -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=kzag0KZS; 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 S2391347AbfJPHty (ORCPT + 99 others); Wed, 16 Oct 2019 03:49:54 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43775 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2391302AbfJPHtw (ORCPT ); Wed, 16 Oct 2019 03:49:52 -0400 Received: by mail-pl1-f196.google.com with SMTP id f21so10861772plj.10 for ; Wed, 16 Oct 2019 00:49:52 -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=kzag0KZSyiLX53Ov+HKOMerf8wmhmV7RvNdjh7Z3wK9k+y5eP2DRWD3eNeQfi59yIY 3GQ2+rGmEAw85UShHP/w8mXxD1zC6s7SJ53zNFQu4Zigrb3n7cVguPz7xshFYyQ9sgxc Lr6KtM/W5nANRAMJ6corxdhprzQqEjPFp5jkb6qhZKWetrMQF6g5B4o4eJLaihQlYSKC lS6/uMQpeF7fzM4GrBVqOzbZXAmGuMTvtAjTgyrz0SZDRWZ366AWj8rJ89hMZvoF+Wuu iIvaw8855QDIoFLQmN4Ke5yvHseFQOG8QBdNpuv0XxcHdprkIQE/u2iPVuh/Q2tD7mMF F4eA== 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=k0cYkFaaRlu9zz0S0VEryi7DqGOMF2suEdshQHf0FvlAtpGlA6deOLM72mrjuJ91HU OWjnVwmLQfE1EUeQItBwlIywjT0pSjFm3f6y69XonaG9dxvdgWSfUbIaT81Yr5lvZdfY zrFJYFxWfk6higUKWHgjWup7z5c3BYzlx92NHFsTBr3vUIF8pyEmk5s0qIh3b45G9QkY L31XsrO/pqo8i8/8uY52RH5dk+PElPldhWH7BFUCTTLwOknxT9EzXoQwfEgm4FDuzei5 qxXCoimwMf179VBBlGXWqe9rXdw7W10mEM70N7xvzmX/0WYAUPUJZoE59jB3fu4HSJ/F y2cw== X-Gm-Message-State: APjAAAVA1nhaRdIY6SmUXtZC9oOldcuhKsnWwDebfY3v79NONMXNuqGp +2+NRuIa6+dyT2wvnze1QiI= X-Received: by 2002:a17:902:9a41:: with SMTP id x1mr38983505plv.331.1571212191868; Wed, 16 Oct 2019 00:49:51 -0700 (PDT) Received: from localhost.localdomain ([45.52.215.209]) by smtp.gmail.com with ESMTPSA id d1sm25185522pfc.98.2019.10.16.00.49.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Oct 2019 00:49:51 -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 4/4] staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis) Date: Wed, 16 Oct 2019 00:49:27 -0700 Message-Id: <20191016074927.20056-4-chandra627@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191016074927.20056-1-chandra627@gmail.com> References: <20191016074927.20056-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