]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: zynq_[q]spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 15:10:16 +0000 (20:40 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:48:48 +0000 (23:18 +0530)
commit736b4df15d603325f97663a7a4f26f7abf454dcf
treebbd2e323b91e95846cf2de4060a8396c1d1204a9
parente5e0d68f27eaf1986e4049ff4621e822c281ff79
spi: zynq_[q]spi: Use BIT macro

Used BIT macro on zynq_spi.c and zynq_qspi.c

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

Cc: Michal Simek <michal.simek@xilinx.com>
Acked-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/zynq_qspi.c
drivers/spi/zynq_spi.c