]> git.dujemihanovic.xyz Git - u-boot.git/commit
serial: altera_jtag_uart: use BIT macro
authorThomas Chou <thomas@wytron.com.tw>
Thu, 29 Oct 2015 13:09:31 +0000 (21:09 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:14:11 +0000 (09:14 +0800)
commit886161a4454721a24f63a59361d4f22f15123b5a
tree8aa418c1ef3ac8e6ed7786ca9e6115c56760aeca
parentca3ed07dafd6152cb9957bd7bf48dc25f045dfe0
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>
drivers/serial/altera_jtag_uart.c