1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-31 02:15:45 +01:00
Files
u-boot-megous/drivers/spi/mpc8xxx_spi.c
Jagan Teki a048d4bbb1 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>
2015-10-27 23:21:28 +05:30

4.1 KiB