]> git.dujemihanovic.xyz Git - u-boot.git/commit
spi: ti_qspi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:09:20 +0000 (01:39 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:33 +0000 (23:21 +0530)
commit847720c4e143130e372aabd0c39d19e8ae9885a3
treeeedbec0ded3386475e7150fd885a1c57812a7bc9
parentf692248f9039fb9d933ccb5e919ecfa073b5a130
spi: ti_qspi: Use BIT macro

Replace numerical bit shift with BIT macro
in ti_qspi

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

Reviewed-by: Vignesh R <vigneshr@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ti_qspi.c