]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: xilinx_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:09:31 +0000 (01:39 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:42 +0000 (23:21 +0530)
commit5ea392d43bd15c652aac01750ed363c7d3d144e4
tree61c34793d30d71cc26018bfba3073e24383bdfeb
parent847720c4e143130e372aabd0c39d19e8ae9885a3
spi: xilinx_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in xilinx_spi

:%s/(1 << nr)/BIT(nr)/g
where nr = 0, 1, 2 .... 31

Cc: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/xilinx_spi.c