spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Mon, 28 Dec 2015 16:54:08 +0000 (22:24 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:27 +0000 (18:47 +0530)
commit29ee0262e11d73c3602d9f0a5a8f1030e76008c1
tree6d1a5eda32ecd695e1d953ba2ad725ad2f32c3a0
parente26a2e2cd96d1e885292880e1d71233a9dc04518
spi: Use BIT macro

Used BIT macro like 1 << nr as BIT(nr) where nr is 0...n

Cc: Simon Glass <sjg@chromium.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
Tested-by: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Jagan Teki <jteki@openedev.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
include/spi.h