]> Git Repo - J-u-boot.git/commit
spi: designware_spi: Use BIT macro
authorJagan Teki <[email protected]>
Thu, 22 Oct 2015 20:06:23 +0000 (01:36 +0530)
committerJagan Teki <[email protected]>
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 <[email protected]>
Cc: Marek Vasut <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
drivers/spi/designware_spi.c
This page took 0.030452 seconds and 4 git commands to generate.