summaryrefslogtreecommitdiff
path: root/drivers/timer/altera_timer.c
diff options
context:
space:
mode:
authorThomas Chou <thomas@wytron.com.tw>2015-10-29 21:09:31 +0800
committerThomas Chou <thomas@wytron.com.tw>2015-11-06 09:14:11 +0800
commit886161a4454721a24f63a59361d4f22f15123b5a (patch)
tree8aa418c1ef3ac8e6ed7786ca9e6115c56760aeca /drivers/timer/altera_timer.c
parentca3ed07dafd6152cb9957bd7bf48dc25f045dfe0 (diff)
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 'drivers/timer/altera_timer.c')
0 files changed, 0 insertions, 0 deletions