diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 01:37:08 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 04:56:47 (GMT) |
commit | 4c8df1d359d0f40d6be272e46b0b12f83469a3c9 (patch) | |
tree | 4c900b4940b963f7d3892e3c71656ac0ebe55c4b /arch/nios2 | |
parent | 14fb5369909796f8de1a7fa0c8de1384d3dd2777 (diff) | |
download | u-boot-fsl-qoriq-4c8df1d359d0f40d6be272e46b0b12f83469a3c9.tar.xz |
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>
Diffstat (limited to 'arch/nios2')
0 files changed, 0 insertions, 0 deletions