commit | 94c39215fc66b8e9456cf16eae78f0eadf2336ec | [log] [tgz] |
---|---|---|
author | Thomas Chou <thomas@wytron.com.tw> | Thu Oct 29 21:18:01 2015 +0800 |
committer | Thomas Chou <thomas@wytron.com.tw> | Fri Nov 06 09:14:11 2015 +0800 |
tree | 08833b667a2174c27e02406e45938ca6ce1140c1 | |
parent | 5cbdb8cd625c1ee2c8ad125cf15f4ef14e908d42 [diff] |
serial: altera_uart: use BIT macro Replace numerical bit shift with BIT macro in altera_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>