net: altera_tse: use BIT macro
authorThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:37:08 +0000 (09:37 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 04:56:47 +0000 (12:56 +0800)
commit4c8df1d359d0f40d6be272e46b0b12f83469a3c9
tree4c900b4940b963f7d3892e3c71656ac0ebe55c4b
parent14fb5369909796f8de1a7fa0c8de1384d3dd2777
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>
drivers/net/altera_tse.h