aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/kpc2000/kpc2000_spi.c
diff options
context:
space:
mode:
authorChandra Annamaneni <chandra627@gmail.com>2019-10-29 02:16:38 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-30 10:38:50 +0100
commitbe1f84cf772b1598a4ed15b41e78d2967b97fbf5 (patch)
tree14de0dd1f356a054d32a6e1e1ab65e016468d0fd /drivers/staging/kpc2000/kpc2000_spi.c
parentstaging: KPC2000: kpc2000_spi.c: Fix style issues (alignment) (diff)
downloadlinux-dev-be1f84cf772b1598a4ed15b41e78d2967b97fbf5.tar.xz
linux-dev-be1f84cf772b1598a4ed15b41e78d2967b97fbf5.zip
staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis)
Resolved: CHECK: Unnecessary parentheses around table[i] Signed-off-by: Chandra Annamaneni <chandra627@gmail.com> Link: https://lore.kernel.org/r/20191029091638.16101-4-chandra627@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/kpc2000/kpc2000_spi.c2
1 files changed, 1 insertions, 1 deletions
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) {