spi: atmel_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:05:26 +0000 (01:35 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:49:29 +0000 (23:19 +0530)
commita48c4eb6a720d21aae995a6c60903763950fda46
treea8fef0ce0bdd64a269a7a1a53db95d44cea5a4d5
parent9cf2ffb3c3721c28f8d6473df0fa8693f5bead7d
spi: atmel_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in atmel_spi

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

Cc: Bo Shen <voice.shen@atmel.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/atmel_spi.h