]> git.sur5r.net Git - u-boot/commit
spi: designware_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:06:23 +0000 (01:36 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:49:29 +0000 (23:19 +0530)
commit431a9f0286dc5041b47520479fab388b7917521b
treeabec7f93aa721a66fc761cbd03a474724c2e4065
parentb7e83b087c0464b2e52240c2ebb1356125cca93e
spi: designware_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in designware_spi

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

Cc: Stefan Roese <sr@denx.de>
Cc: Marek Vasut <marex@denx.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/designware_spi.c