From: Chandra Annamaneni Date: Tue, 29 Oct 2019 09:16:38 +0000 (-0700) Subject: staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis) X-Git-Tag: v5.5-rc1~135^2~136 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be1f84cf772b1598a4ed15b41e78d2967b97fbf5;p=thirdparty%2Fkernel%2Flinux.git staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis) Resolved: CHECK: Unnecessary parentheses around table[i] Signed-off-by: Chandra Annamaneni Link: https://lore.kernel.org/r/20191029091638.16101-4-chandra627@gmail.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/kpc2000/kpc2000_spi.c b/drivers/staging/kpc2000/kpc2000_spi.c index 24de8d63f504d..8becf972af9c9 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) {