Skip to content
Snippets Groups Projects
Commit 4c8df1d3 authored by Thomas Chou's avatar Thomas Chou
Browse files

net: altera_tse: use BIT macro


Replace numerical bit shift with BIT macro
in altera_tse

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

Signed-off-by: default avatarThomas Chou <thomas@wytron.com.tw>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarChin Liang See <clsee@altera.com>
Reviewed-by: default avatarJagan Teki <jteki@openedev.com>
Acked-by: default avatarJoe Hershberger <joe.hershberger@ni.com>
parent 14fb5369
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