commit | e2a9d2ff9eb8d72933bb9280b99dfc296ddf089f | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Fri Nov 06 09:37:08 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Nov 06 12:56:47 2015 +0800 |
tree | 4c900b4940b963f7d3892e3c71656ac0ebe55c4b | |
parent | db089201129ede369c55fc89310f57fe8f961ae1 [diff] |
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>