]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: omap3_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:08:32 +0000 (01:38 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:28 +0000 (23:21 +0530)
commit3e1b4dcf1cb6d5edbb6a78824a2f30531ef8ea55
tree3f7ea29ab403d04fb522156b809e58a4eca1021e
parenta048d4bbb1079b4b70bb5fabca4661ba373fbc4b
spi: omap3_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in omap3_spi

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

Cc: Nikita Kiryanov <nikita@compulab.co.il>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/omap3_spi.h