diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-29 21:09:31 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 09:14:11 +0800 |
commit | 886161a4454721a24f63a59361d4f22f15123b5a (patch) | |
tree | 8aa418c1ef3ac8e6ed7786ca9e6115c56760aeca /.mailmap | |
parent | ca3ed07dafd6152cb9957bd7bf48dc25f045dfe0 (diff) | |
download | talos-obmc-uboot-886161a4454721a24f63a59361d4f22f15123b5a.tar.gz talos-obmc-uboot-886161a4454721a24f63a59361d4f22f15123b5a.zip |
serial: altera_jtag_uart: use BIT macro
Replace numerical bit shift with BIT macro
in altera_jtag_uart
:%s/(1 << nr)/BIT(nr)/g
where nr = 0, 1, 2 .... 31
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Reviewed-by: Jagan Teki <jteki@openedev.com>
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions