timer: altera_timer: use BIT macro
authorThomas Chou <thomas@wytron.com.tw>
Thu, 29 Oct 2015 13:16:39 +0000 (21:16 +0800)
committerThomas Chou <thomas@wytron.com.tw>
Fri, 6 Nov 2015 01:14:11 +0000 (09:14 +0800)
commit430b43e8ee55798232f6e1cdd4f5ae486906c3f9
tree996a052c4ba8b11179d5c617716cd0e21de150a0
parent892414829c7df6b70bc83652bc568c2761b0d1b4
timer: altera_timer: use BIT macro

Replace numerical bit shift with BIT macro
in altera_timer

:%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/timer/altera_timer.c