Commit be1f84cf authored by Chandra Annamaneni's avatar Chandra Annamaneni Committed by Greg Kroah-Hartman

staging: KPC2000: kpc2000_spi.c: Fix style issues (Unnecessary parenthesis)

Resolved: CHECK: Unnecessary parentheses around table[i]
Signed-off-by: default avatarChandra Annamaneni <chandra627@gmail.com>
Link: https://lore.kernel.org/r/20191029091638.16101-4-chandra627@gmail.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e5f26f85
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment