spi: tegra: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:09:06 +0000 (01:39 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:28 +0000 (23:21 +0530)
commitf692248f9039fb9d933ccb5e919ecfa073b5a130
tree98a1ce5cb22a6ee8887600ce892e7dccd3eade65
parentccaa9485011b853e7729d1e7315c34563cdabb8e
spi: tegra: Use BIT macro

Replace numerical bit shift with BIT macro
in tegra*.c

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

Cc: Stephen Warren <swarren@wwwdotorg.org>
Cc: Tom Warren <twarren@nvidia.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/tegra114_spi.c
drivers/spi/tegra20_sflash.c
drivers/spi/tegra20_slink.c