diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-29 13:18:01 (GMT) |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 01:14:11 (GMT) |
commit | d0b1483065ed2d825553988c3ae5931bab1aa2f6 (patch) | |
tree | 08833b667a2174c27e02406e45938ca6ce1140c1 /common/stdio.c | |
parent | 315acd08b3c9cc9905e1ef4630387f18b37e68b4 (diff) | |
download | u-boot-d0b1483065ed2d825553988c3ae5931bab1aa2f6.tar.xz |
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>
Diffstat (limited to 'common/stdio.c')
0 files changed, 0 insertions, 0 deletions