Skip to content
Snippets Groups Projects
Commit 9c63d44e authored by Jagan Teki's avatar Jagan Teki
Browse files

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: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Signed-off-by: default avatarJagan Teki <jteki@openedev.com>
parent d2436301
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment