]> Git Repo - J-u-boot.git/commit
spi: fsl: Use BIT macro
authorJagan Teki <[email protected]>
Thu, 22 Oct 2015 20:07:18 +0000 (01:37 +0530)
committerJagan Teki <[email protected]>
Tue, 27 Oct 2015 17:49:29 +0000 (23:19 +0530)
commit29e6abd94b0d879b0b92538d41b80d22b4a28d2c
tree91955d54a83029562e66de6aba3c169cde309b82
parent431a9f0286dc5041b47520479fab388b7917521b
spi: fsl: Use BIT macro

Replace numerical bit shift with BIT macro
in fsl_*spi.c

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

Cc: York Sun <[email protected]>
Cc: Haikun Wang <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/spi/fsl_dspi.c
drivers/spi/fsl_espi.c
drivers/spi/fsl_qspi.c
This page took 0.034087 seconds and 4 git commands to generate.