commit | 430b43e8ee55798232f6e1cdd4f5ae486906c3f9 | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Thu Oct 29 21:16:39 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Nov 06 09:14:11 2015 +0800 |
tree | 996a052c4ba8b11179d5c617716cd0e21de150a0 | |
parent | 892414829c7df6b70bc83652bc568c2761b0d1b4 [diff] |
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>