commit | 9baccdcb67cc9ebdf9a56f0b23bbcce333541e3e | [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 | 65a50c9c9d20a05fa674fa1e6bffbf4a111f185a [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>