]> git.ipfire.org Git - people/ms/u-boot.git/commit
spi: mpc8xxx_spi: Use BIT macro
authorJagan Teki <jteki@openedev.com>
Thu, 22 Oct 2015 20:08:07 +0000 (01:38 +0530)
committerJagan Teki <jteki@openedev.com>
Tue, 27 Oct 2015 17:51:28 +0000 (23:21 +0530)
commita048d4bbb1079b4b70bb5fabca4661ba373fbc4b
treed9bce7ae6c0240a1dfebf024fa87f63a8aa7e095
parent69fd4c386cb4ca60fa5d3c8e28d6601b1a48acac
spi: mpc8xxx_spi: Use BIT macro

Replace numerical bit shift with BIT macro
in mpc8xxx_spi

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

Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/spi/mpc8xxx_spi.c