]> git.sur5r.net Git - u-boot/commit
spi: bfin_spi6xx: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:05:47 +0000 (01:35 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:49:29 +0000 (23:19 +0530)
commitc0d1ea4acd53304f9f749790424586f52547a99a
tree0e7278bc0684f8822e7ad57bfa372bc93ea79225
parenta48c4eb6a720d21aae995a6c60903763950fda46
spi: bfin_spi6xx: Use BIT macro

Replace numerical bit shift with BIT macro
in bfin_spi6xx

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

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/bfin_spi6xx.c