Home
last modified time | relevance | path

Searched hist:"4 c8df1d3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/u-boot/drivers/net/
H A Daltera_tse.h4c8df1d3 Thu Nov 05 19:37:08 CST 2015 Thomas Chou <thomas@wytron.com.tw> 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: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Chin Liang See <clsee@altera.com>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>