mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
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>
This commit is contained in:
parent
e5f26f8548
commit
be1f84cf77
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user