spi: altera_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:39:56 +0000 (23:09 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 28 Oct 2015 08:23:58 +0000 (13:53 +0530)
commit9c63d44e92e3c90080491ba4e61e36e39a20aea8
treee463953979a6e8255bb40278948c01f620bc2926
parentd2436301c52a823f0f0b3c2ef4b966a5bced489c
spi: altera_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in altera_spi

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

Cc: Marek Vasut <marex@denx.de>
Acked-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/altera_spi.c