]> git.sur5r.net Git - u-boot/commit
spi: ich: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:07:56 +0000 (01:37 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:16 +0000 (23:21 +0530)
commit69fd4c386cb4ca60fa5d3c8e28d6601b1a48acac
tree4074341bcfefc352dfb5ff6a1e8607617fc60cd5
parent29e6abd94b0d879b0b92538d41b80d22b4a28d2c
spi: ich: Use BIT macro

Replace numerical bit shift with BIT macro
in ich

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

Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/ich.c