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

Replace numerical bit shift with BIT macro
in sh_qspi

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

Cc: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/sh_qspi.c