spi: Add brackets and tidy defines in spi.h
authorSimon Glass <sjg@chromium.org>
Mon, 15 Sep 2014 12:33:23 +0000 (06:33 -0600)
committerSimon Glass <sjg@chromium.org>
Fri, 26 Sep 2014 21:01:15 +0000 (15:01 -0600)
commit248a0488bfbb2eb16dee408a976d5f4b5546bb51
tree37d4e38ceef1747df194bab1e6ddef77a9496d00
parentdf3b23ae3a7bb0627d595e6139ea43655d5acaa4
spi: Add brackets and tidy defines in spi.h

Some of the #defines in spi.h are not bracketed. To avoid future mistakes
add brackets. Also add an explanatory comment for SPI_CONN_DUAL_...

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
include/spi.h